summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwinh <winnie@gitlab.com>2017-08-03 14:30:35 +0200
committerwinh <winnie@gitlab.com>2017-08-04 15:39:32 +0200
commita1be8bb8afbe77814888a6c3cba6534b950f51a5 (patch)
treed583162d955a51f4baa64a0c69df49823eb3eff1
parentee908e2382632508e45cc777b33b3c7367d3238f (diff)
downloadgitlab-ce-winh-new-dropdown-dividers.tar.gz
Make new dropdown dividers full widthwinh-new-dropdown-dividers
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss4
-rw-r--r--app/assets/stylesheets/new_nav.scss4
2 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index bd4bd541c3a..02e0ba74158 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -728,6 +728,10 @@
@mixin new-style-dropdown {
.dropdown-menu,
.dropdown-menu-nav {
+ .divider {
+ margin: 6px 0;
+ }
+
li {
padding: 0 1px;
diff --git a/app/assets/stylesheets/new_nav.scss b/app/assets/stylesheets/new_nav.scss
index 1c4a84de7ec..795ee91af8b 100644
--- a/app/assets/stylesheets/new_nav.scss
+++ b/app/assets/stylesheets/new_nav.scss
@@ -312,6 +312,10 @@ header.navbar-gitlab-new {
// TODO: fallback to global style
.dropdown-menu {
+ .divider {
+ margin: 6px 0;
+ }
+
li {
padding: 0 1px;