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