diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-09-08 16:01:44 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-09-08 16:01:44 +0000 |
commit | 9c88832e9cdb6714e0d029a1eb743a993c170409 (patch) | |
tree | 5dfbe93c88afa6486775b47cc2126e3e98fe07d7 | |
parent | 963958a3096427987cd529bfbd05cb4d43e22690 (diff) | |
parent | 7dfb3a3f1c7e6901f656e22f36d4b2ba53312732 (diff) | |
download | gitlab-ce-9c88832e9cdb6714e0d029a1eb743a993c170409.tar.gz |
Merge branch 'new-sidebar-scss-fix' into '9-5-stable-patch-5'
Fix new_sidebar.scss being out of date
See merge request !14035
-rw-r--r-- | app/assets/stylesheets/new_sidebar.scss | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/app/assets/stylesheets/new_sidebar.scss b/app/assets/stylesheets/new_sidebar.scss index 6322e467728..25c6715899b 100644 --- a/app/assets/stylesheets/new_sidebar.scss +++ b/app/assets/stylesheets/new_sidebar.scss @@ -96,13 +96,16 @@ $new-sidebar-collapsed-width: 50px; top: $header-height; bottom: 0; left: 0; - overflow: auto; background-color: $gray-normal; box-shadow: inset -2px 0 0 $border-color; + transform: translate3d(0, 0, 0); &.sidebar-icons-only { width: $new-sidebar-collapsed-width; - overflow-x: hidden; + + .nav-sidebar-inner-scroll { + overflow-x: hidden; + } .badge, .sidebar-context-title { @@ -110,7 +113,11 @@ $new-sidebar-collapsed-width: 50px; } .nav-item-name { - opacity: 0; + display: none; + } + + .sidebar-top-level-items > li > a { + min-height: 44px; } } @@ -175,6 +182,12 @@ $new-sidebar-collapsed-width: 50px; } } +.nav-sidebar-inner-scroll { + height: 100%; + width: 100%; + overflow: auto; +} + .with-performance-bar .nav-sidebar { top: $header-height + $performance-bar-height; } |