From 9ee2fbe5803ff77828d81365229684dd86450ecb Mon Sep 17 00:00:00 2001 From: Patrick Yeo Date: Tue, 30 May 2017 11:36:59 -0700 Subject: [PATCH] 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. --- scss/_nav.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } }