1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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

View file

@ -74,13 +74,13 @@
.nav-pills { .nav-pills {
.nav-link { .nav-link {
@include border-radius($nav-pills-border-radius); @include border-radius($nav-pills-border-radius);
}
&.active, .nav-link.active,
.show > & { .show > .nav-link {
color: $nav-pills-link-active-color; color: $nav-pills-link-active-color;
background-color: $nav-pills-link-active-bg; background-color: $nav-pills-link-active-bg;
} }
}
} }