From 17e634d78a7d5347171033b429668727f46069de Mon Sep 17 00:00:00 2001 From: Will Date: Mon, 8 Feb 2021 09:24:01 -0800 Subject: [PATCH] Prevent sidebar scroll from overflowing --- assets-hugo/scss/custom.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets-hugo/scss/custom.scss b/assets-hugo/scss/custom.scss index 73d14048..ea79b70d 100644 --- a/assets-hugo/scss/custom.scss +++ b/assets-hugo/scss/custom.scss @@ -43,6 +43,7 @@ Custom SCSS for the Matrix spec /* Styles for the sidebar nav */ .td-sidebar-nav { scroll-behavior: smooth; + overscroll-behavior: contain; /* This overrides calc(100vh - 10rem);, which gives us a blank space at the bottom of the sidebar */ max-height: calc(100vh - 6rem);