centered the forms

This commit is contained in:
AmitChauhan63390
2024-11-16 15:51:25 +05:30
parent 04ed79b337
commit 4f08bfac9d
2 changed files with 10 additions and 2 deletions

View File

@@ -58,7 +58,11 @@ const Login = () => {
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
mt: 5, justifyContent: 'center',
height: "calc(100vh - 64px)",
}} }}
> >
<Typography variant="h4" gutterBottom> <Typography variant="h4" gutterBottom>
@@ -112,6 +116,7 @@ const Login = () => {
</Link> </Link>
</Typography> </Typography>
</Box> </Box>
</Box> </Box>
); );
}; };

View File

@@ -56,7 +56,10 @@ const Register = () => {
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
mt: 5, justifyContent: 'center',
height: "calc(100vh - 64px)",
}} }}
> >
<Typography variant="h4" gutterBottom> <Typography variant="h4" gutterBottom>