1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 08:34:08 +02:00

Dropup dropdown-menu should have margin on the bottom instead of top

This commit is contained in:
Patrick Yeo
2017-07-31 11:47:02 -07:00
committed by Mark Otto
parent 0501b029f5
commit cd3507aba6

View File

@@ -26,6 +26,11 @@
// Allow for dropdowns to go bottom up (aka, dropup-menu)
// Just add .dropup after the standard .dropdown class and you're set.
.dropup {
.dropdown-menu {
margin-top: 0;
margin-bottom: $dropdown-spacer;
}
.dropdown-toggle {
&::after {
border-top: 0;