Skip to content

Commit

Permalink
More accurately target menu links hovers
Browse files Browse the repository at this point in the history
Allows active links to control their own background color
  • Loading branch information
BobChao87 committed Jan 21, 2022
1 parent f7b61fd commit fa4cfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ a {
&:hover {
color: theme.$link-hover !important;

.menu-list & {
&.menu-item-link:not(.is-active) {
background-color: inherit;
}
}
Expand Down

0 comments on commit fa4cfff

Please sign in to comment.