Make new .dropdown-menu style global

This commit is contained in:
Winnie Hellmann 2017-10-09 15:18:37 +02:00
parent bb133ff79a
commit 4a12df3aaa

View file

@ -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) {