0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Fix caret position for Dropdown in a bottom navbar

This commit is contained in:
Johann-S 2017-08-23 10:02:33 +02:00
parent 101129763c
commit a9e7abd29b

View File

@ -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) {