diff options
| author | Johann-S <[email protected]> | 2017-08-23 10:02:33 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-10-04 10:32:32 +0200 |
| commit | a9e7abd29b794ddb05f4555f56242c780d80c95f (patch) | |
| tree | b6561693e27aafae5d0951df967c77138c2db86e | |
| parent | 101129763c0fcd29ae194874c6710339dede5d4a (diff) | |
| download | bootstrap-a9e7abd29b794ddb05f4555f56242c780d80c95f.tar.xz bootstrap-a9e7abd29b794ddb05f4555f56242c780d80c95f.zip | |
Fix caret position for Dropdown in a bottom navbar
| -rw-r--r-- | scss/_navbar.scss | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss index f8e5ce291..a0ccc06fb 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) { |
