Commit a9e7abd2 authored by Johann-S's avatar Johann-S
Browse files

Fix caret position for Dropdown in a bottom navbar

parent 10112976
6 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!25494web pack,!25326Adjust examples,!23207#22402 : modal: new autofocus & keyboardBtnNav options,!17021v4
Showing with 16 additions and 5 deletions
+16 -5
...@@ -75,11 +75,10 @@ ...@@ -75,11 +75,10 @@
float: none; float: none;
} }
.dropup { .dropdown-toggle {
.dropdown-menu { &::after {
position: absolute; border-top: $caret-width solid;
top: auto; border-bottom: 0;
bottom: 100%;
} }
} }
} }
...@@ -152,6 +151,18 @@ ...@@ -152,6 +151,18 @@
padding-right: 0; padding-right: 0;
padding-left: 0; padding-left: 0;
} }
.dropup {
.dropdown-menu {
position: absolute;
top: auto;
bottom: 100%;
}
.dropdown-toggle {
@include caret(up);
}
}
} }
@include media-breakpoint-up($next) { @include media-breakpoint-up($next) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment