Make new .dropdown-menu style global
This commit is contained in:
parent
bb133ff79a
commit
4a12df3aaa
1 changed files with 1 additions and 15 deletions
|
@ -218,7 +218,7 @@
|
|||
min-width: 240px;
|
||||
max-width: 500px;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
margin-bottom: 24px;
|
||||
font-size: 14px;
|
||||
font-weight: $gl-font-weight-normal;
|
||||
padding: 8px 0;
|
||||
|
@ -757,23 +757,9 @@
|
|||
|
||||
// TODO: change global style and remove mixin
|
||||
@mixin new-style-dropdown($selector: '') {
|
||||
#{$selector}.dropdown-menu,
|
||||
#{$selector}.dropdown-menu-nav {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
#{$selector}.dropdown-menu-align-right {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.open {
|
||||
#{$selector}.dropdown-menu,
|
||||
#{$selector}.dropdown-menu-nav {
|
||||
@media (max-width: $screen-xs-max) {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $screen-xs-max) {
|
||||
|
|
Loading…
Reference in a new issue