diff options
author | 2019-04-04 16:46:22 +0200 | |
---|---|---|
committer | 2019-04-04 16:46:22 +0200 | |
commit | 4346b0c0871c856d27c9ba088dcaf0e084552b12 (patch) | |
tree | 9f6fdf49ec73a53f5f6f76f2a9f15cc71a118677 /src/features/workspaces | |
parent | close workspace drawer after clicking on a workspace (diff) | |
download | ferdium-app-4346b0c0871c856d27c9ba088dcaf0e084552b12.tar.gz ferdium-app-4346b0c0871c856d27c9ba088dcaf0e084552b12.tar.zst ferdium-app-4346b0c0871c856d27c9ba088dcaf0e084552b12.zip |
add hover effect for drawer workspace items
Diffstat (limited to 'src/features/workspaces')
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawerItem.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawerItem.js b/src/features/workspaces/components/WorkspaceDrawerItem.js index 1e28ebea6..17a7882b8 100644 --- a/src/features/workspaces/components/WorkspaceDrawerItem.js +++ b/src/features/workspaces/components/WorkspaceDrawerItem.js | |||
@@ -20,9 +20,15 @@ const styles = theme => ({ | |||
20 | '&:first-child': { | 20 | '&:first-child': { |
21 | borderTop: `1px solid ${theme.workspaceDrawerItemBorder}`, | 21 | borderTop: `1px solid ${theme.workspaceDrawerItemBorder}`, |
22 | }, | 22 | }, |
23 | '&:hover': { | ||
24 | backgroundColor: theme.workspaceDrawerItemHoverBackground, | ||
25 | }, | ||
23 | }, | 26 | }, |
24 | isActiveItem: { | 27 | isActiveItem: { |
25 | backgroundColor: theme.workspaceDrawerItemActiveBackground, | 28 | backgroundColor: theme.workspaceDrawerItemActiveBackground, |
29 | '&:hover': { | ||
30 | backgroundColor: theme.workspaceDrawerItemActiveBackground, | ||
31 | }, | ||
26 | }, | 32 | }, |
27 | name: { | 33 | name: { |
28 | marginTop: '4px', | 34 | marginTop: '4px', |