Skip to content

Commit

Permalink
Nav Pills with open dropdown don't reflect the nav-pills active state…
Browse files Browse the repository at this point in the history
…. The active state should also be reflected when using collapse plugin inside nav-pills.
  • Loading branch information
pat270 committed Jun 22, 2017
1 parent 16d77b4 commit d71f3c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scss/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@
.nav-pills {
.nav-link {
@include border-radius($nav-pills-border-radius);
}

&.active,
.show > & {
color: $nav-pills-link-active-color;
background-color: $nav-pills-link-active-bg;
}
.nav-link.active,
.show > .nav-link {
color: $nav-pills-link-active-color;
background-color: $nav-pills-link-active-bg;
}
}

Expand Down

0 comments on commit d71f3c7

Please sign in to comment.