summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-08-08 11:07:16 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-08-08 17:37:25 -0500
commit2bb7f357a9c445984abcb79ec809269e77d939cc (patch)
tree54c890d9d4a8572dd8241ffe85f0c5779d75909e
parent8d2099cd8ab02209a0c7aeccc43ecba57a07ae2a (diff)
downloadgitlab-ce-fix-collapsed-sidebar-item-height.tar.gz
Fix height of collapsed sidebar itemsfix-collapsed-sidebar-item-height
-rw-r--r--app/assets/stylesheets/new_sidebar.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/stylesheets/new_sidebar.scss b/app/assets/stylesheets/new_sidebar.scss
index 3fc8939f658..20754301584 100644
--- a/app/assets/stylesheets/new_sidebar.scss
+++ b/app/assets/stylesheets/new_sidebar.scss
@@ -104,11 +104,14 @@ $new-sidebar-collapsed-width: 50px;
&.sidebar-icons-only {
width: $new-sidebar-collapsed-width;
- .nav-item-name,
.badge,
.project-title {
display: none;
}
+
+ .nav-item-name {
+ opacity: 0;
+ }
}
&.nav-sidebar-expanded {
@@ -361,7 +364,7 @@ $new-sidebar-collapsed-width: 50px;
.sidebar-icons-only {
.context-header {
- height: 60px;
+ height: 61px;
a {
padding: 10px 4px;