summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwinh <winnie@gitlab.com>2017-08-17 15:21:46 +0200
committerwinh <winnie@gitlab.com>2017-08-17 15:21:46 +0200
commit529d5908fa1c18501031445b4c77435cdcc4b72d (patch)
treec8d820ef479f09cad8d3f52add8eaec6d0898532
parentec34b2d051c16a351387fbaedb5542654810b8a5 (diff)
downloadgitlab-ce-529d5908fa1c18501031445b4c77435cdcc4b72d.tar.gz
Prevent horizontal scrolling in new sidebar when collapsed
-rw-r--r--app/assets/stylesheets/new_sidebar.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/stylesheets/new_sidebar.scss b/app/assets/stylesheets/new_sidebar.scss
index d078c8b956b..51d1aa76496 100644
--- a/app/assets/stylesheets/new_sidebar.scss
+++ b/app/assets/stylesheets/new_sidebar.scss
@@ -105,6 +105,10 @@ $new-sidebar-collapsed-width: 50px;
width: $new-sidebar-collapsed-width;
overflow-x: hidden;
+ .nav-sidebar-inner-scroll {
+ overflow-x: hidden;
+ }
+
.badge,
.project-title {
display: none;