diff options
author | Dominik Guzei <dominik.guzei@gmail.com> | 2019-03-21 15:55:38 +0100 |
---|---|---|
committer | Dominik Guzei <dominik.guzei@gmail.com> | 2019-03-21 15:55:38 +0100 |
commit | 1c5c54515fce5911b062474b41035f1f3dce1143 (patch) | |
tree | fdd544a142a6e25b3b1ef74b7cb864e947416385 /src/features/workspaces/components/WorkspaceDrawer.js | |
parent | style add workspace icon in drawer like the sidebar icons (diff) | |
download | ferdium-app-1c5c54515fce5911b062474b41035f1f3dce1143.tar.gz ferdium-app-1c5c54515fce5911b062474b41035f1f3dce1143.tar.zst ferdium-app-1c5c54515fce5911b062474b41035f1f3dce1143.zip |
improve workspace drawer layout
Diffstat (limited to 'src/features/workspaces/components/WorkspaceDrawer.js')
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawer.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawer.js b/src/features/workspaces/components/WorkspaceDrawer.js index 7bf3684c0..28e74b287 100644 --- a/src/features/workspaces/components/WorkspaceDrawer.js +++ b/src/features/workspaces/components/WorkspaceDrawer.js | |||
@@ -22,17 +22,17 @@ const messages = defineMessages({ | |||
22 | const styles = theme => ({ | 22 | const styles = theme => ({ |
23 | drawer: { | 23 | drawer: { |
24 | backgroundColor: theme.workspaceDrawerBackground, | 24 | backgroundColor: theme.workspaceDrawerBackground, |
25 | width: theme.workspaceDrawerWidth, | 25 | width: `${theme.workspaceDrawerWidth}px`, |
26 | }, | 26 | }, |
27 | headline: { | 27 | headline: { |
28 | fontSize: '24px', | 28 | fontSize: '24px', |
29 | marginTop: '38px', | 29 | marginTop: '38px', |
30 | marginBottom: '25px', | 30 | marginBottom: '25px', |
31 | marginLeft: '10px', | 31 | marginLeft: `${theme.workspaceDrawerPadding}px`, |
32 | }, | 32 | }, |
33 | addWorkspaceButton: { | 33 | addWorkspaceButton: { |
34 | float: 'right', | 34 | float: 'right', |
35 | marginRight: '10px', | 35 | marginRight: `${theme.workspaceDrawerPadding}px`, |
36 | marginTop: '2px', | 36 | marginTop: '2px', |
37 | }, | 37 | }, |
38 | addWorkspaceButtonIcon: { | 38 | addWorkspaceButtonIcon: { |