Make new .dropdown-open-top style global

This commit is contained in:
Winnie Hellmann 2017-10-09 13:06:03 +02:00
parent 9429e8ac60
commit b58d08d42d

View file

@ -197,6 +197,10 @@
border-radius: $border-radius-base;
box-shadow: 0 2px 4px $dropdown-shadow-color;
&.dropdown-open-top {
margin-bottom: $dropdown-vertical-offset;
}
&.dropdown-open-left {
right: 0;
left: auto;
@ -746,10 +750,6 @@
#{$selector}.dropdown-menu-nav {
margin-bottom: 24px;
&.dropdown-open-top {
margin-bottom: $dropdown-vertical-offset;
}
li {
display: block;
padding: 0 1px;