From 9e9e95c59b34be2c6b111b2cd46dadce7d24478a Mon Sep 17 00:00:00 2001 From: Antonin Cezard Date: Fri, 5 Apr 2024 14:43:24 +0200 Subject: [PATCH] fix: Add vertical scroll to sidebar when needed This will handle cases in desktop where the sidebar was hiding its own content because it was too tall and not letting the user scroll inside it. This should have no effect on the mobile sidebar since it has a fixed height --- stylus/objects/sidebar.styl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stylus/objects/sidebar.styl b/stylus/objects/sidebar.styl index eef4717697..9d0e69f4be 100644 --- a/stylus/objects/sidebar.styl +++ b/stylus/objects/sidebar.styl @@ -12,6 +12,8 @@ $sidebar width rem(220) border-right rem(1) solid var(--dividerColor) background-color var(--defaultBackgroundColor) + overflow-y auto + overflow-x hidden +medium-screen() justify-content space-between