Prevent sidebar scroll from overflowing

This commit is contained in:
Will 2021-02-08 09:24:01 -08:00 committed by Richard van der Hoff
parent e88a18ca5d
commit 2371a7a804

View file

@ -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);