Skip to content

Commit

Permalink
Merge pull request #2999 from wbamberg/stop-scroll-overflow
Browse files Browse the repository at this point in the history
Prevent sidebar scroll from overflowing
  • Loading branch information
wbamberg authored Feb 9, 2021
2 parents 6914402 + 17e634d commit 0a65f9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets-hugo/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0a65f9a

Please sign in to comment.