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

Fix dropup in bottom navbar for all the breakpoints

This commit is contained in:
Johann-S 2017-10-04 15:24:10 +02:00
parent 133cc32197
commit b9c4a5cde2

View File

@ -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%;
}
}
}
}
}