Skip to content

Commit

Permalink
Fix navbar-nav link styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii Babakov authored and mdo committed Mar 2, 2023
1 parent 7832136 commit dbc021b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@
margin-bottom: 0;
list-style: none;

.show > .nav-link,
.nav-link.active {
color: var(--#{$prefix}navbar-active-color);
.nav-link {
&.active,
&.show {
color: var(--#{$prefix}navbar-active-color);
}
}

.dropdown-menu {
Expand Down

0 comments on commit dbc021b

Please sign in to comment.