From: Patrick Yeo Date: Tue, 30 May 2017 18:36:59 +0000 (-0700) Subject: Nav Pills with open dropdown don't reflect the nav-pills active state. The active... X-Git-Tag: v4.0.0-beta.2~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ee2fbe5803ff77828d81365229684dd86450ecb;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/scss/_nav.scss b/scss/_nav.scss index ed5d76b0c0..14e76c9acc 100644 --- a/scss/_nav.scss +++ b/scss/_nav.scss @@ -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; } }