Fix styles

This commit is contained in:
Christian Wolf 2022-08-18 12:38:56 +02:00
parent b21c7a193e
commit ff336b80e9

View File

@ -93,11 +93,6 @@
&.active {
color: var(--color-fg-top-dark, #000);
background-color: var(--color-bg-top-dark, #aaa);
> .mod-menu__sub > li:hover {
color: var(--color-fg-top-dark);
background-color: var(--color-bg-top-dark);
}
}
> .mod-menu__sub {
@ -145,6 +140,11 @@
}
}
&.active > .mod-menu__sub > li:hover {
color: var(--color-fg-top-dark);
background-color: var(--color-bg-top-dark);
}
&:hover > .mod-menu__sub {
display: block;
}