Skip to content

Commit bfb7a39

Browse files
committed
Enable sidebar transitions
1 parent ec1a112 commit bfb7a39

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/_layouts/DashboardLayout/DashboardLayout.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ const useStyles = makeStyles(theme => ({
154154
alignItems: 'stretch',
155155
position: 'absolute',
156156
zIndex: theme.zIndex.drawer + 1,
157-
// transition: theme.transitions.create(['width', 'margin'], {
158-
// easing: theme.transitions.easing.sharp,
159-
// duration: theme.transitions.duration.leavingScreen,
160-
// }),
157+
transition: theme.transitions.create(['width', 'margin'], {
158+
easing: theme.transitions.easing.sharp,
159+
duration: theme.transitions.duration.leavingScreen,
160+
}),
161161
},
162162
sidebarContainer: {
163163
display: 'flex',
@@ -171,10 +171,10 @@ const useStyles = makeStyles(theme => ({
171171
// width: theme.sidebar.width,
172172
// flexShrink: 0,
173173
// },
174-
// transition: theme.transitions.create('width', {
175-
// easing: theme.transitions.easing.sharp,
176-
// duration: theme.transitions.duration.leavingScreen,
177-
// }),
174+
transition: theme.transitions.create('width', {
175+
easing: theme.transitions.easing.sharp,
176+
duration: theme.transitions.duration.leavingScreen,
177+
}),
178178
},
179179
sidebarContainerMobile: {
180180
width: 0,

0 commit comments

Comments
 (0)