Nav Pills with open dropdown don't reflect the nav-pills active state. The active state should also be reflected when using collapse plugin inside nav-pills.

This commit is contained in:
Patrick Yeo 2017-05-30 11:36:59 -07:00 committed by Mark Otto
parent 864c657488
commit 9ee2fbe580
1 changed files with 5 additions and 5 deletions

View File

@ -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;
}
}