summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2017-10-09 13:06:03 +0200
committerWinnie Hellmann <winnie@gitlab.com>2017-12-08 11:56:04 +0100
commitb58d08d42d8473b2d3ab3452ee08da105953cef1 (patch)
tree91556e0edf53cff3426a4288fc6a27428d4d130d
parent9429e8ac60a10436a0469d7d206d3f74a2c966c7 (diff)
downloadgitlab-ce-b58d08d42d8473b2d3ab3452ee08da105953cef1.tar.gz
Make new .dropdown-open-top style global
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss8
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;