Fix menu item hover

This commit is contained in:
Krzysztof Bialoglowicz 2019-09-26 10:24:13 +02:00
parent 637403d44f
commit 3db58aa969

View file

@ -44,10 +44,16 @@ const styles = (theme: Theme) =>
boxShadow: "0px 0px 12px 1px rgba(0,0,0,0.2)" boxShadow: "0px 0px 12px 1px rgba(0,0,0,0.2)"
}, },
menuItemHover: { menuItemHover: {
"& p": {
transition: "color 0.5s ease"
},
"& path": { "& path": {
transition: "fill 0.5s ease" transition: "fill 0.5s ease"
}, },
"&:hover": { "&:hover": {
"& p": {
color: theme.palette.primary.main
},
"& path": { "& path": {
fill: theme.palette.primary.main fill: theme.palette.primary.main
}, },