]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix subnavbar active style.
authorXhmikosR <xhmikosr@gmail.com>
Sun, 21 Jul 2019 15:16:56 +0000 (18:16 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 22 Jul 2019 14:13:44 +0000 (17:13 +0300)
site/static/docs/4.3/assets/scss/_nav.scss

index 014d6ae66b07dc0c21bc0a3fe58afe1e9148c5cc..b93d42205fb7517a185de8f0d1db6e90bea55190 100644 (file)
   }
 
   .dropdown-menu {
-    @include font-size(90%);
+    @include font-size(.875rem);
     box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05);
   }
 
+  .dropdown-item.active {
+    font-weight: 600;
+    color: $gray-900;
+    background: escape-svg($dropdown-active-icon) no-repeat .4rem .6rem/.75rem .75rem;
+  }
+
   @include media-breakpoint-up(md) {
     @supports (position: sticky) {
       position: sticky;
     height: 1rem;
     vertical-align: text-top;
   }
-
-  .dropdown-menu {
-    @include font-size(.875rem);
-  }
-
-  .dropdown-item.active {
-    font-weight: 600;
-    color: $gray-900;
-    background: escape-svg($dropdown-active-icon) no-repeat .4rem .6rem/.75rem .75rem;
-  }
 }