]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix (css): force .navbar .dropdown-menu positioning
authorCatalin Zalog <xxxxxcata@yahoo.com>
Mon, 22 May 2017 14:20:58 +0000 (17:20 +0300)
committerJohann-S <johann.servoire@gmail.com>
Mon, 22 May 2017 14:20:58 +0000 (16:20 +0200)
scss/_navbar.scss

index bc05382d68b1e24306cfbfc2cd4ed3cd154697dd..9bf4cc0e2b44009b470c505c7422a48bfb4b28e5 100644 (file)
     padding-right: 0;
     padding-left: 0;
   }
+
+  .dropdown-menu {
+    position: static !important;
+    float: none;
+    transform: unset !important;
+  }
 }
 
 
 
     &#{$infix} {
       @include media-breakpoint-down($breakpoint) {
-        .navbar-nav {
-          .dropdown-menu {
-            position: static !important;
-            float: none;
-            transform: unset !important;
-          }
-        }
-
         > .container,
         > .container-fluid {
           padding-right: 0;
           flex-direction: row;
 
           .dropdown-menu {
-            position: absolute;
+            position: absolute !important;
+            top: 100% !important;
           }
 
           .nav-link {