From 0a20b0e7d6184104c3301129ca3af5cfbfbd459a Mon Sep 17 00:00:00 2001 From: Charly Molter Date: Fri, 27 May 2022 11:41:51 +0200 Subject: [PATCH] fix: proper scrolling on sidebar menu Fix #805 Signed-off-by: Charly Molter --- docs/.vuepress/theme/styles/vuepress-core/sidebar.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/theme/styles/vuepress-core/sidebar.scss b/docs/.vuepress/theme/styles/vuepress-core/sidebar.scss index d6f01e702..1ba59d24a 100644 --- a/docs/.vuepress/theme/styles/vuepress-core/sidebar.scss +++ b/docs/.vuepress/theme/styles/vuepress-core/sidebar.scss @@ -23,6 +23,9 @@ } & > .sidebar-links { padding: 1.5rem 0; + overflow-y: scroll; + height: 100vh; + & > li > a.sidebar-link { font-size: 1.1em; line-height: 1.7; @@ -46,4 +49,4 @@ padding: 1rem 0; } } -} \ No newline at end of file +}