diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-10-18 12:00:43 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-10-18 12:00:43 +0200 |
commit | 5c1c0db73ba1317ed138b1db8831677ef27c1633 (patch) | |
tree | a6f8442a7241d533c3a1a9488e274a3d35b14ad9 | |
parent | apply diet (diff) | |
download | ferdium-app-5c1c0db73ba1317ed138b1db8831677ef27c1633.tar.gz ferdium-app-5c1c0db73ba1317ed138b1db8831677ef27c1633.tar.zst ferdium-app-5c1c0db73ba1317ed138b1db8831677ef27c1633.zip |
fix(Workspaces): Allow scrolling in Workspaces drawer
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawer.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawer.js b/src/features/workspaces/components/WorkspaceDrawer.js index ee6f8416c..d5616b4da 100644 --- a/src/features/workspaces/components/WorkspaceDrawer.js +++ b/src/features/workspaces/components/WorkspaceDrawer.js | |||
@@ -52,6 +52,8 @@ const styles = theme => ({ | |||
52 | drawer: { | 52 | drawer: { |
53 | background: theme.workspaces.drawer.background, | 53 | background: theme.workspaces.drawer.background, |
54 | width: `${theme.workspaces.drawer.width}px`, | 54 | width: `${theme.workspaces.drawer.width}px`, |
55 | display: 'flex', | ||
56 | flexDirection: 'column', | ||
55 | }, | 57 | }, |
56 | headline: { | 58 | headline: { |
57 | fontSize: '24px', | 59 | fontSize: '24px', |
@@ -75,6 +77,7 @@ const styles = theme => ({ | |||
75 | }, | 77 | }, |
76 | workspaces: { | 78 | workspaces: { |
77 | height: 'auto', | 79 | height: 'auto', |
80 | overflowY: 'scroll', | ||
78 | }, | 81 | }, |
79 | premiumAnnouncement: { | 82 | premiumAnnouncement: { |
80 | padding: '20px', | 83 | padding: '20px', |
@@ -89,7 +92,7 @@ const styles = theme => ({ | |||
89 | addNewWorkspaceLabel: { | 92 | addNewWorkspaceLabel: { |
90 | height: 'auto', | 93 | height: 'auto', |
91 | color: theme.workspaces.drawer.buttons.color, | 94 | color: theme.workspaces.drawer.buttons.color, |
92 | marginTop: 40, | 95 | margin: [40, 0], |
93 | textAlign: 'center', | 96 | textAlign: 'center', |
94 | '& > svg': { | 97 | '& > svg': { |
95 | fill: theme.workspaces.drawer.buttons.color, | 98 | fill: theme.workspaces.drawer.buttons.color, |