Skip to content

Commit 37cdb9c

Browse files
authored
Merge pull request #643 from getmaxun/menu-style
feat(ui): consistent style based on mode
2 parents fb4d2d5 + 4fcab50 commit 37cdb9c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/components/dashboard/MainMenu.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,19 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp
2929
const buttonStyles = {
3030
justifyContent: 'flex-start',
3131
textAlign: 'left',
32-
fontSize: 'medium',
33-
padding: '6px 16px 6px 22px',
32+
fontSize: '17px',
33+
letterSpacing: '0.02857em',
34+
padding: '20px 16px 6px 22px',
3435
minHeight: '48px',
3536
minWidth: '100%',
3637
display: 'flex',
3738
alignItems: 'center',
3839
textTransform: 'none',
3940
color: theme.palette.mode === 'light' ? '#6C6C6C' : 'inherit',
41+
'&:hover': {
42+
color: theme.palette.mode === 'light' ? '#6C6C6C' : 'inherit',
43+
backgroundColor: theme.palette.mode === 'light' ? '#f5f5f5' : 'rgba(255, 255, 255, 0.08)',
44+
},
4045
};
4146

4247

@@ -121,4 +126,4 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp
121126
</Box>
122127
</Paper>
123128
);
124-
};
129+
};

0 commit comments

Comments
 (0)