Make new .dropdown-open-top style global
This commit is contained in:
parent
9429e8ac60
commit
b58d08d42d
1 changed files with 4 additions and 4 deletions
|
@ -197,6 +197,10 @@
|
||||||
border-radius: $border-radius-base;
|
border-radius: $border-radius-base;
|
||||||
box-shadow: 0 2px 4px $dropdown-shadow-color;
|
box-shadow: 0 2px 4px $dropdown-shadow-color;
|
||||||
|
|
||||||
|
&.dropdown-open-top {
|
||||||
|
margin-bottom: $dropdown-vertical-offset;
|
||||||
|
}
|
||||||
|
|
||||||
&.dropdown-open-left {
|
&.dropdown-open-left {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto;
|
left: auto;
|
||||||
|
@ -746,10 +750,6 @@
|
||||||
#{$selector}.dropdown-menu-nav {
|
#{$selector}.dropdown-menu-nav {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
|
|
||||||
&.dropdown-open-top {
|
|
||||||
margin-bottom: $dropdown-vertical-offset;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0 1px;
|
padding: 0 1px;
|
||||||
|
|
Loading…
Reference in a new issue