summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-10 12:57:56 +0100
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-10 09:29:35 -0700
commitad80db9799a65814be836aaa4b219b87d93aa433 (patch)
treeff0e236a603ec77a4dbb0aaf6f46daa733c93e8c
parent9ac5338b8eb361927ad068486398b92acb0c287e (diff)
downloadgitlab-ce-fix-dropdown.tar.gz
Remove not selector increasing specificity of rulesfix-dropdown
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss2
-rw-r--r--app/assets/stylesheets/framework/header.scss3
2 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index 5b950ae0ba0..9dcf332eee2 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -749,7 +749,7 @@
margin-bottom: $dropdown-vertical-offset;
}
- li:not(.dropdown-bold-header) {
+ li {
display: block;
padding: 0 1px;
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index 22945e935ef..d79444fad79 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -161,9 +161,10 @@
}
}
- .dropdown-bold-header {
+ li.dropdown-bold-header {
color: $gl-text-color-secondary;
font-size: 12px;
+ padding: 0 16px;
}
.navbar-collapse {