fix spacing

This commit is contained in:
Chris Cromer 2022-01-07 16:40:42 -03:00
parent 90c3733d33
commit 91c1a58680
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -100,51 +100,51 @@ export default function SignInComponent () {
return ( return (
<Container component="main" maxWidth="xs"> <Container component="main" maxWidth="xs">
<CssBaseline /> <CssBaseline />
<div className={classes.paper}> <div className={classes.paper}>
<Avatar className={classes.avatar}> <Avatar className={classes.avatar}>
<LockOutlinedIcon /> <LockOutlinedIcon />
</Avatar> </Avatar>
<Typography component="h1" variant="h5">Sign in</Typography> <Typography component="h1" variant="h5">Sign in</Typography>
<form onSubmit={handleSubmit(onSubmit)} className={classes.form} noValidate> <form onSubmit={handleSubmit(onSubmit)} className={classes.form} noValidate>
<TextField <TextField
variant="outlined" variant="outlined"
margin="normal" margin="normal"
required required
fullWidth fullWidth
id="email" id="email"
label="Email Address" label="Email Address"
name="email" name="email"
autoComplete="email" autoComplete="email"
autoFocus autoFocus
{...register('email', { required: true })} {...register('email', { required: true })}
/> />
<TextField <TextField
variant="outlined" variant="outlined"
margin="normal" margin="normal"
required required
fullWidth fullWidth
name="password" name="password"
label="Password" label="Password"
type="password" type="password"
id="password" id="password"
autoComplete="current-password" autoComplete="current-password"
{...register('password', { required: true })} {...register('password', { required: true })}
/> />
<Button <Button
type="submit" type="submit"
fullWidth fullWidth
variant="contained" variant="contained"
color="primary" color="primary"
className={classes.submit} className={classes.submit}
> >
Sign In Sign In
</Button> </Button>
</form> </form>
</div> </div>
</Container> </Container>
); );
} }