From 4a12df3aaa1f0cd1b3f9f4aa252e9c494001ec82 Mon Sep 17 00:00:00 2001 From: Winnie Hellmann Date: Mon, 9 Oct 2017 15:18:37 +0200 Subject: [PATCH] Make new .dropdown-menu style global --- app/assets/stylesheets/framework/dropdowns.scss | 16 +--------------- 1 file changed, 1 insertion(+), 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) { -- GitLab