From 6f5134e860035f17773c5dba5f5b6ca1a293a77f Mon Sep 17 00:00:00 2001 From: Jivjyot Singh Date: Thu, 3 Jan 2019 02:16:42 +0530 Subject: [PATCH] fix: make side-nav scrollable (#362) - update shell.component.scss file to add scroll bar when content overflows. - update sidenav.component.scss to remove absolute positioned app icon and fix frequently visited links spacing. - update sidenav.component.html to move frequently visited links heading to parent container. Fixes: #358 --- src/app/core/shell/shell.component.scss | 2 +- .../core/shell/sidenav/sidenav.component.html | 8 ++--- .../core/shell/sidenav/sidenav.component.scss | 32 ++++++++----------- 3 files changed, 19 insertions(+), 23 deletions(-) diff --git a/src/app/core/shell/shell.component.scss b/src/app/core/shell/shell.component.scss index cf371c72d..608bf7485 100644 --- a/src/app/core/shell/shell.component.scss +++ b/src/app/core/shell/shell.component.scss @@ -5,7 +5,7 @@ .sidebar-panel { background-color: #fff; min-height: 100vh; - overflow: hidden; + overflow: auto; box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); } diff --git a/src/app/core/shell/sidenav/sidenav.component.html b/src/app/core/shell/sidenav/sidenav.component.html index 05af9c12d..16df5c96e 100644 --- a/src/app/core/shell/sidenav/sidenav.component.html +++ b/src/app/core/shell/sidenav/sidenav.component.html @@ -33,11 +33,11 @@
+
-