fix dashboard paper margin and padding

This commit is contained in:
c9s 2021-02-05 09:12:38 +08:00
parent 10f8a7864f
commit 67d8a44532
3 changed files with 4 additions and 6 deletions

View File

@ -8,8 +8,7 @@ import {makeStyles} from "@material-ui/core/styles";
const useStyles = makeStyles((theme) => ({
paper: {
marginTop: theme.spacing(3),
marginBottom: theme.spacing(3),
margin: theme.spacing(2),
padding: theme.spacing(2),
}
}));

View File

@ -13,8 +13,7 @@ const useStyles = makeStyles((theme) => ({
height: 400,
},
paper: {
marginTop: theme.spacing(3),
marginBottom: theme.spacing(3),
margin: theme.spacing(2),
padding: theme.spacing(2),
}
}));

View File

@ -58,7 +58,7 @@ export default function Home() {
return (
<DashboardLayout>
<Box m={4}>
<Typography variant="h4" component="h2" gutterBottom>
<Typography variant="h4" gutterBottom>
Loading
</Typography>
</Box>
@ -69,7 +69,7 @@ export default function Home() {
return (
<DashboardLayout>
<Paper className={classes.totalAssetsSummary}>
<Typography variant="h4" component="h2" gutterBottom>
<Typography variant="h4" gutterBottom>
Total Assets
</Typography>