Fix the scrollbar displayed when the browser freezes. Add scroll controller. #10

Merged
FatttSnake merged 3 commits from FatttSnake into dev 2023-09-08 18:22:27 +08:00
4 changed files with 6 additions and 6 deletions
Showing only changes of commit 2c09a914ca - Show all commits

View File

@@ -104,7 +104,7 @@ $font-secondary-color: #9E9E9E;
}
}
#loading-mask {
.loading-mask {
position: absolute;
display: flex;
justify-content: center;
@@ -115,13 +115,13 @@ $font-secondary-color: #9E9E9E;
background-color: rgba(200, 200, 200, 0.2);
}
#fit-fullscreen {
.fit-fullscreen {
position: relative;
width: 100%;
height: 100vh;
}
#fit-center {
.fit-center {
display: flex;
justify-content: center;
align-items: center;

View File

@@ -3,7 +3,7 @@ import React from 'react'
const FitCenter: React.FC<PropsWithChildren> = (props: PropsWithChildren) => {
return (
<>
<div id={'fit-center'}>{props.children}</div>
<div className={'fit-center'}>{props.children}</div>
</>
)
}

View File

@@ -4,7 +4,7 @@ const FitFullScreen: React.FC<FitFullscreenProps> = (props: FitFullscreenProps)
return (
<>
<div
id={'fit-fullscreen'}
className={'fit-fullscreen'}
style={{
zIndex: props.zIndex,
backgroundColor: props.backgroundColor

View File

@@ -16,7 +16,7 @@ const LoadingMask: React.FC = () => {
return (
<>
<FitFullScreen>
<div id={'loading-mask'}>
<div className={'loading-mask'}>
<AntdSpin indicator={loadingIcon} />
</div>
</FitFullScreen>