Skip to content

Commit

Permalink
[frontend] Fix scrollbar on loggin page
Browse files Browse the repository at this point in the history
  • Loading branch information
Kedae authored Jan 29, 2025
1 parent b89f94c commit 2941a40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const Login: FunctionComponent<LoginProps> = ({ type, settings }) => {
} else if (isAuthButtons) {
loginHeight = 190;
}
const marginTop = dimension.height / 2 - loginHeight / 2 - 100;
const paddingTop = dimension.height / 2 - loginHeight / 2 - 100;
const [checked, setChecked] = useState(false);
const handleChange = () => {
setChecked(!checked);
Expand Down Expand Up @@ -344,7 +344,7 @@ const Login: FunctionComponent<LoginProps> = ({ type, settings }) => {
return (
<div>
<SystemBanners settings={settings} />
<div className={classes.container} style={{ marginTop }}>
<div className={classes.container} style={{ paddingTop }}>
{authScreen()}
</div>
</div>
Expand Down

0 comments on commit 2941a40

Please sign in to comment.