mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Dropup dropdown-menu should have margin on the bottom instead of top
This commit is contained in:
parent
0501b029f5
commit
cd3507aba6
@ -26,6 +26,11 @@
|
|||||||
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
||||||
// Just add .dropup after the standard .dropdown class and you're set.
|
// Just add .dropup after the standard .dropdown class and you're set.
|
||||||
.dropup {
|
.dropup {
|
||||||
|
.dropdown-menu {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: $dropdown-spacer;
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-toggle {
|
.dropdown-toggle {
|
||||||
&::after {
|
&::after {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user