From: Johann-S Date: Wed, 4 Oct 2017 13:24:10 +0000 (+0200) Subject: Fix dropup in bottom navbar for all the breakpoints X-Git-Tag: v4.0.0-beta.2~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9c4a5cde2f1791624633e9023cab28d1d4edab9;p=thirdparty%2Fbootstrap.git Fix dropup in bottom navbar for all the breakpoints --- diff --git a/scss/_navbar.scss b/scss/_navbar.scss index a0ccc06fb7..6b023e82e4 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -74,13 +74,6 @@ position: static; float: none; } - - .dropdown-toggle { - &::after { - border-top: $caret-width solid; - border-bottom: 0; - } - } } @@ -151,18 +144,6 @@ 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) { @@ -203,6 +184,13 @@ .navbar-toggler { display: none; } + + .dropup { + .dropdown-menu { + top: auto; + bottom: 100%; + } + } } } }