summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-12-07 00:18:37 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-12-07 00:18:37 +0000
commitba44a57f101a87ebb9155485d5bde1287f7892cf (patch)
tree3d478739eb5b830885b6af3f850f4827753cf7bc
parent2b07c2eeabe5e107d2e6ad973e218736dfc4bcd7 (diff)
parent2c6d240939309aab9f6670138dc67f5ed77d6c5c (diff)
downloadgitlab-ce-ba44a57f101a87ebb9155485d5bde1287f7892cf.tar.gz
Merge branch '40631-sidebar-icon-alignment-for-confidentiality-and-lock-issue-is-misaligned' into 'master'
Resolve "Sidebar icon alignment for confidentiality and lock issue is misaligned" Closes #40631 See merge request gitlab-org/gitlab-ce!15692
-rw-r--r--app/assets/stylesheets/pages/note_form.scss16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss
index 1e6992cb65e..ebb5d121433 100644
--- a/app/assets/stylesheets/pages/note_form.scss
+++ b/app/assets/stylesheets/pages/note_form.scss
@@ -141,20 +141,20 @@
.sidebar-item-icon {
border-radius: $border-radius-default;
- margin: 0 3px 0 -4px;
- vertical-align: middle;
+ margin: 0 5px 0 0;
+ vertical-align: text-bottom;
&.is-active {
fill: $orange-600;
}
-}
-.sidebar-collapsed-icon .sidebar-item-icon {
- margin: 0;
-}
+ .sidebar-collapsed-icon & {
+ margin: 0;
+ }
-.sidebar-item-value .sidebar-item-icon {
- fill: $theme-gray-700;
+ .sidebar-item-value & {
+ fill: $theme-gray-700;
+ }
}
.sidebar-item-warning-message {