MuiButton styleOverrides

This commit is contained in:
秦秋旭 2023-02-28 22:51:22 +08:00
parent a794567369
commit e6698287bc
2 changed files with 9 additions and 1 deletions

View File

@ -30,6 +30,14 @@ const theme = createTheme({
LinkComponent: NextMuiLink,
},
},
MuiButton: {
styleOverrides: {
root: {
paddingLeft: 0,
paddingRight: 0,
},
},
},
},
})

View File

@ -127,7 +127,7 @@ export default function Register() {
</Grid>
<Grid xs={12}>
<Button type="submit" fullWidth variant="contained">
</Button>
</Grid>
<Grid xs={12} container justifyContent="flex-end" sx={{ mt: 2 }}>