Commit 41e956b8 authored by Théophile BORNON's avatar Théophile BORNON

remove excess width

parent 588043b9
...@@ -30,9 +30,8 @@ const useStyles = makeStyles(theme => ({ ...@@ -30,9 +30,8 @@ const useStyles = makeStyles(theme => ({
flexGrow: 1, flexGrow: 1,
}, },
margin: { margin: {
margin: theme.spacing(4) marginTop: theme.spacing(3),
}, },
button: { button: {
margin: theme.spacing(1), margin: theme.spacing(1),
}, },
...@@ -92,12 +91,13 @@ function App() { ...@@ -92,12 +91,13 @@ function App() {
} }
return ( return (
<div className={classes.root}> <Grid container justify="center" spacing={0}>
<Grid item xs={12}>
<AppBar position="static"> <AppBar position="static">
<Toolbar> <Toolbar>
</Toolbar></AppBar> </Toolbar></AppBar>
<Grid container justify="center" className={classes.margin} spacing={4}> </Grid>
<Grid item xs={12} md={10} lg={8}> <Grid item className={classes.margin} xs={12} md={10} lg={8}>
<Paper className={classes.paper}> <Paper className={classes.paper}>
<Grid container spacing={2}> <Grid container spacing={2}>
<Grid item xs={12}> <Grid item xs={12}>
...@@ -169,7 +169,7 @@ function App() { ...@@ -169,7 +169,7 @@ function App() {
</Paper> </Paper>
</Grid> </Grid>
<Grid item xs={12} md={10} lg={8}> <Grid item className={classes.margin} xs={12} md={10} lg={8}>
<Paper className={classes.paper}> <Paper className={classes.paper}>
<Grid container spacing={2}> <Grid container spacing={2}>
<Grid item xs={12}> <Grid item xs={12}>
...@@ -207,7 +207,6 @@ function App() { ...@@ -207,7 +207,6 @@ function App() {
</Paper> </Paper>
</Grid> </Grid>
</Grid> </Grid>
</div>
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment