fixed margin causing app to scroll when it shouldn't
This commit is contained in:
parent
e56c5f0781
commit
ffa060cee8
3 changed files with 73 additions and 75 deletions
|
|
@ -22,16 +22,16 @@ const reducer = (state: GlobalState, action: GlobalStateAction): GlobalState =>
|
|||
|
||||
const useStyles = makeStyles((theme: Theme) => ({
|
||||
appContent: {
|
||||
marginTop: 56,
|
||||
marginBottom: 56,
|
||||
marginLeft: "0px",
|
||||
paddingTop: 56,
|
||||
paddingBottom: 56,
|
||||
paddingLeft: "0px",
|
||||
[theme.breakpoints.up("sm")]: {
|
||||
marginTop: 64,
|
||||
marginBottom: 0
|
||||
paddingTop: 64,
|
||||
paddingBottom: 0,
|
||||
},
|
||||
[theme.breakpoints.up("md")]: {
|
||||
marginLeft: theme.spacing(9)
|
||||
}
|
||||
paddingLeft: theme.spacing(9)
|
||||
},
|
||||
},
|
||||
container: {
|
||||
backgroundColor: theme.palette.background.default,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue