From: Johann-S Date: Wed, 23 Aug 2017 08:02:33 +0000 (+0200) Subject: Fix caret position for Dropdown in a bottom navbar X-Git-Tag: v4.0.0-beta.2~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9e7abd29b794ddb05f4555f56242c780d80c95f;p=thirdparty%2Fbootstrap.git Fix caret position for Dropdown in a bottom navbar --- diff --git a/scss/_navbar.scss b/scss/_navbar.scss index f8e5ce2914..a0ccc06fb7 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -75,11 +75,10 @@ float: none; } - .dropup { - .dropdown-menu { - position: absolute; - top: auto; - bottom: 100%; + .dropdown-toggle { + &::after { + border-top: $caret-width solid; + border-bottom: 0; } } } @@ -152,6 +151,18 @@ 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) {