From 2371a7a8040431f096882cec3d9b3c47094da9e0 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);