| @@ -7,7 +7,7 @@ import { Box } from "@mui/material"; | |||||
| const LoginPage = () => { | const LoginPage = () => { | ||||
| return ( | return ( | ||||
| <Grid container height="100vh"> | |||||
| <Grid container sx={{ minHeight: "100vh" }}> | |||||
| <Grid | <Grid | ||||
| item | item | ||||
| xs={0} | xs={0} | ||||
| @@ -34,7 +34,14 @@ const LoginPage = () => { | |||||
| }} | }} | ||||
| /> | /> | ||||
| </Grid> | </Grid> | ||||
| <Grid item xs={12} sm={8} md={7} lg={6}> | |||||
| <Grid | |||||
| item | |||||
| xs={12} | |||||
| sm={8} | |||||
| md={7} | |||||
| lg={6} | |||||
| sx={{ display: "flex", flexDirection: "column", minHeight: "100vh" }} | |||||
| > | |||||
| <Box | <Box | ||||
| sx={{ | sx={{ | ||||
| width: "100%", | width: "100%", | ||||
| @@ -49,7 +56,7 @@ const LoginPage = () => { | |||||
| > | > | ||||
| <Logo height={42} /> | <Logo height={42} /> | ||||
| </Box> | </Box> | ||||
| <Paper square sx={{ height: "100%" }}> | |||||
| <Paper square sx={{ flex: 1 }}> | |||||
| <LoginForm /> | <LoginForm /> | ||||
| </Paper> | </Paper> | ||||
| </Grid> | </Grid> | ||||