]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix caret position for Dropdown in a bottom navbar
authorJohann-S <johann.servoire@gmail.com>
Wed, 23 Aug 2017 08:02:33 +0000 (10:02 +0200)
committerJohann-S <johann.servoire@gmail.com>
Wed, 4 Oct 2017 08:32:32 +0000 (10:32 +0200)
scss/_navbar.scss

index f8e5ce2914d0eb26e71513527dff8a644c29b392..a0ccc06fb7101078ff28a92a1ff6891d8b9996bc 100644 (file)
     float: none;
   }
 
-  .dropup {
-    .dropdown-menu {
-      position: absolute;
-      top: auto;
-      bottom: 100%;
+  .dropdown-toggle {
+    &::after {
+      border-top: $caret-width solid;
+      border-bottom: 0;
     }
   }
 }
           padding-right: 0;
           padding-left: 0;
         }
+
+        .dropup {
+          .dropdown-menu {
+            position: absolute;
+            top: auto;
+            bottom: 100%;
+          }
+
+          .dropdown-toggle {
+            @include caret(up);
+          }
+        }
       }
 
       @include media-breakpoint-up($next) {