From 8fbc54e03cd9a5abaf6eb153491635926f98e8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Fri, 14 Aug 2020 14:34:23 +0200 Subject: [PATCH] :bug: Fix issue in workspace sidebar scroll (check it in assets) --- .../styles/main/partials/sidebar-assets.scss | 16 ++++++++++++---- .../resources/styles/main/partials/sidebar.scss | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/frontend/resources/styles/main/partials/sidebar-assets.scss b/frontend/resources/styles/main/partials/sidebar-assets.scss index d401ead10d..bdc699b38f 100644 --- a/frontend/resources/styles/main/partials/sidebar-assets.scss +++ b/frontend/resources/styles/main/partials/sidebar-assets.scss @@ -118,6 +118,11 @@ padding: $small; font-size: $fs11; color: $color-gray-20; + /* TODO: see if this is useful, or is better to leave only + one scroll bar in the whole sidebar + (also see .group-list) */ + // max-height: 30rem; + // overflow-y: scroll; .group-title { display: flex; @@ -187,10 +192,13 @@ } } - .group-list { - max-height: 30rem; - overflow-y: scroll; - } + /* TODO: see if this is useful, or is better to leave only + one scroll bar in the whole sidebar + (also see .asset-group) */ + // .group-list { + // max-height: 30rem; + // overflow-y: scroll; + // } .group-list-item { display: flex; diff --git a/frontend/resources/styles/main/partials/sidebar.scss b/frontend/resources/styles/main/partials/sidebar.scss index 1dfe95df03..41f26a4c62 100644 --- a/frontend/resources/styles/main/partials/sidebar.scss +++ b/frontend/resources/styles/main/partials/sidebar.scss @@ -17,6 +17,7 @@ $width-settings-bar: 15rem; right: 0; width: $width-settings-bar; z-index: 10; + overflow-y: auto; &.settings-bar-left { border-left: none; @@ -59,7 +60,6 @@ $width-settings-bar: 15rem; flex-direction: column; - overflow: hidden; padding-top: 40px; height: 100%;