From df6c5831e21b1b00d7b1de37b5c4cef0d54a3c4f Mon Sep 17 00:00:00 2001 From: ownchoice Date: Mon, 9 Aug 2021 03:57:08 -0300 Subject: [PATCH] Allow scrolling in sidebar Useful for when there are many items. I used this template for a website but some items where out of reach in the sidebar because there were too many and the user couldn't scroll. --- src/scss/components/_sidebar.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scss/components/_sidebar.scss b/src/scss/components/_sidebar.scss index 7201241e6..8fc7b62cd 100644 --- a/src/scss/components/_sidebar.scss +++ b/src/scss/components/_sidebar.scss @@ -16,6 +16,8 @@ transform: translateX(250px); background: $primary; border-left: 1px solid fade-out($white, 0.9); + overflow-y: scroll; + overflow-x: hidden; } .sidebar-nav {