Merge pull request #1517 from spotify/freben/noshrink

fix(sidebar): do not let sidebar items collapse and shrink
This commit is contained in:
Patrik Oldsberg
2020-07-02 22:06:47 +02:00
committed by GitHub
+3
View File
@@ -44,6 +44,9 @@ const useStyles = makeStyles<BackstageTheme>(theme => ({
easing: theme.transitions.easing.sharp,
duration: theme.transitions.duration.shortest,
}),
'& > *': {
flexShrink: 0,
},
},
drawerOpen: {
width: sidebarConfig.drawerWidthOpen,