Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-03 23:50:35 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-03 23:50:35 +0300
commit5a23af928e52350039f1db8eee97278d34d1f1b0 (patch)
tree34a849e437df3dbe0fca514db4fc603d6fc998aa /app/assets/stylesheets/framework/dropdowns.scss
parent900a19edfc1d9021557d264df558194dedad0a8c (diff)
parent64a60e08c3749cb5cfe9546ac526edf91f0b3b76 (diff)
Merge branch '38187-38315-fix-dropdown-open-top-bottom-spacing' into 'master'
Fix bottom spacing for dropdowns that open upwards Closes #38187 and #38315 See merge request gitlab-org/gitlab-ce!14535
Diffstat (limited to 'app/assets/stylesheets/framework/dropdowns.scss')
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index 5c397470629..fa92d4ccf4f 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -745,6 +745,10 @@
#{$selector}.dropdown-menu-nav {
margin-bottom: 24px;
+ &.dropdown-open-top {
+ margin-bottom: $dropdown-vertical-offset;
+ }
+
li {
display: block;
padding: 0 1px;