Fixed hover states for nested items in mobile navigation

This commit is contained in:
squidfunk 2020-03-15 13:27:30 +01:00
parent bcb8b4a498
commit f7a79edbd8

View File

@ -275,6 +275,12 @@
// Active parent item // Active parent item
&--active > .md-nav__link { &--active > .md-nav__link {
color: var(--md-primary-fg-color); color: var(--md-primary-fg-color);
// Focused or hovered linl
&:focus,
&:hover {
color: var(--md-accent-fg-color);
}
} }
} }