Skip to content

Commit

Permalink
fix(drawer): actually accounted for the drawer change
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Dec 14, 2019
1 parent 797f44e commit c714dd7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/organisms/layout/presentational.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {useMediaQuery} from '../../../thirdparty-wrappers/material-ui';
import Header from '../../molecules/header';
import NavigationDrawer from '../../molecules/navigation';
import createTheme from '../../theme';
import {drawerWidth, styles as drawerStyles} from '../../molecules/navigation/styles';
import {styles as drawerStyles} from '../../molecules/navigation/styles';

function styles(theme) {
return ({
Expand All @@ -18,13 +18,13 @@ function styles(theme) {
easing: theme.transitions.easing.sharp,
duration: theme.transitions.duration.leavingScreen
}),
marginLeft: -drawerWidth
},
contentShift: {
transition: theme.transitions.create('margin', {
easing: theme.transitions.easing.easeOut,
duration: theme.transitions.duration.enteringScreen
}),
// marginLeft: -drawerWidth
// },
// contentShift: {
// transition: theme.transitions.create('margin', {
// easing: theme.transitions.easing.easeOut,
// duration: theme.transitions.duration.enteringScreen
// }),
marginLeft: 0
}
});
Expand Down

0 comments on commit c714dd7

Please sign in to comment.