From 3dc1a9dddaf9de8f8243d74f3d8868338d876f59 Mon Sep 17 00:00:00 2001 From: Bojan Mojsilovic Date: Wed, 19 Jun 2024 10:31:18 +0200 Subject: [PATCH] Better sidebar height --- src/components/HomeSidebar/HomeSidebar.module.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/HomeSidebar/HomeSidebar.module.scss b/src/components/HomeSidebar/HomeSidebar.module.scss index 5b649b0..25ae4f2 100644 --- a/src/components/HomeSidebar/HomeSidebar.module.scss +++ b/src/components/HomeSidebar/HomeSidebar.module.scss @@ -102,7 +102,7 @@ .articleSidebar { .section { margin-bottom: 28px; - max-height: 526px; + max-height: calc(100vh - 240px); overflow-y: scroll; /* Hide scrollbar for Chrome, Safari and Opera */