diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-10-09 13:06:03 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-12-08 11:56:04 +0100 |
commit | b58d08d42d8473b2d3ab3452ee08da105953cef1 (patch) | |
tree | 91556e0edf53cff3426a4288fc6a27428d4d130d | |
parent | 9429e8ac60a10436a0469d7d206d3f74a2c966c7 (diff) | |
download | gitlab-ce-b58d08d42d8473b2d3ab3452ee08da105953cef1.tar.gz |
Make new .dropdown-open-top style global
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 8d83554d813..95ec046e416 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -197,6 +197,10 @@ border-radius: $border-radius-base; box-shadow: 0 2px 4px $dropdown-shadow-color; + &.dropdown-open-top { + margin-bottom: $dropdown-vertical-offset; + } + &.dropdown-open-left { right: 0; left: auto; @@ -746,10 +750,6 @@ #{$selector}.dropdown-menu-nav { margin-bottom: 24px; - &.dropdown-open-top { - margin-bottom: $dropdown-vertical-offset; - } - li { display: block; padding: 0 1px; |