Смена ховер эффекта в меню
This commit is contained in:
parent
110eb6df28
commit
035e3f0655
@ -117,10 +117,18 @@ const Navigation = (props: any) => {
|
|||||||
background: "#2f3339",
|
background: "#2f3339",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{links.map((e, i) => (
|
{links.map((e, index) => (
|
||||||
<ListItem key={i} disablePadding sx={{ display: "block" }}>
|
<ListItem key={index} disablePadding sx={{ display: "block" }}>
|
||||||
<Link to={e.path} style={{ textDecoration: "none" }} className={e.className}>
|
<Link
|
||||||
|
to={e.path}
|
||||||
|
style={{
|
||||||
|
textDecoration: "none",
|
||||||
|
}}
|
||||||
|
className={e.className}
|
||||||
|
>
|
||||||
<ListItemButton
|
<ListItemButton
|
||||||
|
disableGutters
|
||||||
|
disableRipple
|
||||||
onClick={props.SladeMobileHC}
|
onClick={props.SladeMobileHC}
|
||||||
sx={{
|
sx={{
|
||||||
minHeight: 48,
|
minHeight: 48,
|
||||||
@ -128,6 +136,9 @@ const Navigation = (props: any) => {
|
|||||||
justifyContent: props.visible ? "initial" : "center",
|
justifyContent: props.visible ? "initial" : "center",
|
||||||
px: 2.5,
|
px: 2.5,
|
||||||
margin: "20px 0",
|
margin: "20px 0",
|
||||||
|
"&:active": {
|
||||||
|
background: "gray",
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ListItemIcon
|
<ListItemIcon
|
||||||
|
Loading…
Reference in New Issue
Block a user