Prevent sidebar scroll from overflowing

pull/3368/head
Will 4 years ago committed by Richard van der Hoff
parent e88a18ca5d
commit 2371a7a804

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

Loading…
Cancel
Save