fix: set maxWidth to 400

This commit is contained in:
karishmas6
2024-10-11 18:34:27 +05:30
parent 11e570ed80
commit 1b21df92af
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ const Login = () => {
<Typography variant="h4" gutterBottom>
Welcome Back!
</Typography>
<Box component="form" onSubmit={submitForm} sx={{ maxWidth: 300, width: '100%' }}>
<Box component="form" onSubmit={submitForm} sx={{ maxWidth: 400, width: '100%' }}>
<TextField
fullWidth
label="Email"

View File

@@ -61,7 +61,7 @@ const Register = () => {
<Typography variant="h4" gutterBottom>
Create an account
</Typography>
<Box component="form" onSubmit={submitForm} sx={{ maxWidth: 300, width: '100%' }}>
<Box component="form" onSubmit={submitForm} sx={{ maxWidth: 400, width: '100%' }}>
<TextField
margin="normal"
required