Skip to content

Commit

Permalink
[Drawer] Improve "ResponsiveDrawer" demo (#18045)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorjan-mishevski authored and oliviertassinari committed Oct 29, 2019
1 parent 7d5d913 commit 9a39b3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/components/drawers/ResponsiveDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const useStyles = makeStyles(theme => ({
},
},
appBar: {
marginLeft: drawerWidth,
[theme.breakpoints.up('sm')]: {
width: `calc(100% - ${drawerWidth}px)`,
marginLeft: drawerWidth,
},
},
menuButton: {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/drawers/ResponsiveDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const useStyles = makeStyles((theme: Theme) =>
},
},
appBar: {
marginLeft: drawerWidth,
[theme.breakpoints.up('sm')]: {
width: `calc(100% - ${drawerWidth}px)`,
marginLeft: drawerWidth,
},
},
menuButton: {
Expand Down

0 comments on commit 9a39b3c

Please sign in to comment.