diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-10-09 15:18:37 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-12-08 11:56:04 +0100 |
commit | 4a12df3aaa1f0cd1b3f9f4aa252e9c494001ec82 (patch) | |
tree | 8c8a411d27f5ec8625e41b2faacaa595b94c6acd | |
parent | bb133ff79afcef9ac4faf8190a7939518ab31642 (diff) | |
download | gitlab-ce-4a12df3aaa1f0cd1b3f9f4aa252e9c494001ec82.tar.gz |
Make new .dropdown-menu style global
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 70cbdd6483d..c37db085944 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -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) { |