Skip to content

Commit 5c1c0db

Browse files
committed
fix(Workspaces): Allow scrolling in Workspaces drawer
1 parent 3f150f9 commit 5c1c0db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/features/workspaces/components/WorkspaceDrawer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ const styles = theme => ({
5252
drawer: {
5353
background: theme.workspaces.drawer.background,
5454
width: `${theme.workspaces.drawer.width}px`,
55+
display: 'flex',
56+
flexDirection: 'column',
5557
},
5658
headline: {
5759
fontSize: '24px',
@@ -75,6 +77,7 @@ const styles = theme => ({
7577
},
7678
workspaces: {
7779
height: 'auto',
80+
overflowY: 'scroll',
7881
},
7982
premiumAnnouncement: {
8083
padding: '20px',
@@ -89,7 +92,7 @@ const styles = theme => ({
8992
addNewWorkspaceLabel: {
9093
height: 'auto',
9194
color: theme.workspaces.drawer.buttons.color,
92-
marginTop: 40,
95+
margin: [40, 0],
9396
textAlign: 'center',
9497
'& > svg': {
9598
fill: theme.workspaces.drawer.buttons.color,

0 commit comments

Comments
 (0)