fix: hover state style of ListItems which are clickable to be in line with other buttons (#223)
* fix: hover state style of ListItems which are clickable to be in line with other buttons * fix: hover state of the SideBarStatus button
This commit is contained in:
@@ -9,6 +9,19 @@ declare module '@material-ui/core/styles/createPalette' {
|
||||
|
||||
// Overwriting default components styles
|
||||
const componentsOverrides = (theme: Theme) => ({
|
||||
MuiListItem: {
|
||||
button: {
|
||||
'&:hover': {
|
||||
backgroundColor: '#fcf2e8',
|
||||
color: theme.palette.primary.main,
|
||||
// https://github.com/mui-org/material-ui/issues/22543
|
||||
'@media (hover: none)': {
|
||||
backgroundColor: '#fcf2e8',
|
||||
color: theme.palette.primary.main,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
MuiContainer: {
|
||||
root: { padding: theme.spacing(8) },
|
||||
maxWidthXs: { padding: theme.spacing(8) },
|
||||
|
||||
Reference in New Issue
Block a user