Fix unique id warning
This commit is contained in:
@@ -104,7 +104,7 @@ $font-secondary-color: #9E9E9E;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#loading-mask {
|
.loading-mask {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -115,13 +115,13 @@ $font-secondary-color: #9E9E9E;
|
|||||||
background-color: rgba(200, 200, 200, 0.2);
|
background-color: rgba(200, 200, 200, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
#fit-fullscreen {
|
.fit-fullscreen {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
#fit-center {
|
.fit-center {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import React from 'react'
|
|||||||
const FitCenter: React.FC<PropsWithChildren> = (props: PropsWithChildren) => {
|
const FitCenter: React.FC<PropsWithChildren> = (props: PropsWithChildren) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div id={'fit-center'}>{props.children}</div>
|
<div className={'fit-center'}>{props.children}</div>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ const FitFullScreen: React.FC<FitFullscreenProps> = (props: FitFullscreenProps)
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div
|
<div
|
||||||
id={'fit-fullscreen'}
|
className={'fit-fullscreen'}
|
||||||
style={{
|
style={{
|
||||||
zIndex: props.zIndex,
|
zIndex: props.zIndex,
|
||||||
backgroundColor: props.backgroundColor
|
backgroundColor: props.backgroundColor
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const LoadingMask: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<FitFullScreen>
|
<FitFullScreen>
|
||||||
<div id={'loading-mask'}>
|
<div className={'loading-mask'}>
|
||||||
<AntdSpin indicator={loadingIcon} />
|
<AntdSpin indicator={loadingIcon} />
|
||||||
</div>
|
</div>
|
||||||
</FitFullScreen>
|
</FitFullScreen>
|
||||||
|
|||||||
Reference in New Issue
Block a user