diff options
| author | Johann-S <[email protected]> | 2017-10-04 15:24:10 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-10-04 16:22:55 +0200 |
| commit | b9c4a5cde2f1791624633e9023cab28d1d4edab9 (patch) | |
| tree | 0732caf98dde4e08a365a742b433032b1e5fa204 | |
| parent | 133cc321977ce97d5a688bf32aa2917408e48a6c (diff) | |
| download | bootstrap-b9c4a5cde2f1791624633e9023cab28d1d4edab9.tar.xz bootstrap-b9c4a5cde2f1791624633e9023cab28d1d4edab9.zip | |
Fix dropup in bottom navbar for all the breakpoints
| -rw-r--r-- | scss/_navbar.scss | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss index a0ccc06fb..6b023e82e 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%; + } + } } } } |
