diff options
author | Patrick Yeo <patrick.yeo@liferay.com> | 2017-05-30 21:36:59 +0300 |
---|---|---|
committer | Mark Otto <markd.otto@gmail.com> | 2017-10-03 06:48:05 +0300 |
commit | 9ee2fbe5803ff77828d81365229684dd86450ecb (patch) | |
tree | 5b9b7fcb63b70d793cda70333498a5347844fee4 | |
parent | 864c657488e2ec292c45c2d49322987ba3d56b3a (diff) |
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.
-rw-r--r-- | scss/_nav.scss | 10 |
1 files 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; } } |