Skip to content

Commit aa1bb8f

Browse files
committed
improved style
1 parent 95ac762 commit aa1bb8f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/components/Layout/styles.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ const styles = theme => ({
3030
backgroundColor: 'red',
3131
},
3232
mainFixedAppBar: {
33-
marginTop: '64px',
33+
marginTop: 56,
34+
},
35+
[theme.breakpoints.up('sm')]: {
36+
mainFixedAppBar: {
37+
marginTop: 64,
38+
},
3439
},
3540
mainStickyFooter: {
3641
flex: 1,
@@ -43,12 +48,6 @@ const styles = theme => ({
4348
duration: theme.transitions.duration.enteringScreen,
4449
}),
4550
},
46-
'@media (max-width: 599px)': {
47-
// use mixim
48-
mainFixedAppBar: {
49-
marginTop: '56px',
50-
},
51-
},
5251
drawerPaper: {
5352
width: drawerWidth,
5453
},

0 commit comments

Comments
 (0)