Prevent sidebar scroll from overflowing

pull/2999/head
Will 4 years ago
parent 6914402338
commit 17e634d78a
No known key found for this signature in database
GPG Key ID: 385872BB265E8BF8

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