]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Nav Pills with open dropdown don't reflect the nav-pills active state. The active...
authorPatrick Yeo <patrick.yeo@liferay.com>
Tue, 30 May 2017 18:36:59 +0000 (11:36 -0700)
committerMark Otto <markd.otto@gmail.com>
Tue, 3 Oct 2017 03:48:05 +0000 (20:48 -0700)
scss/_nav.scss

index ed5d76b0c010744a34a87195d12024943ae0c55c..14e76c9acc48792a6083de6a03c200140e03c9cf 100644 (file)
 .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;
   }
 }