Suppress scroll-anchoring in the sidebar (#992)

pull/993/head
Richard van der Hoff 3 years ago committed by GitHub
parent 7293744a5e
commit d199c05e97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,6 +41,11 @@ Custom SCSS for the Matrix spec
} }
/* Styles for the sidebar nav */ /* Styles for the sidebar nav */
.td-sidebar {
/* don't attempt to use the sidebar (or things in it) as a scroll anchor. */
overflow-anchor: none;
}
.td-sidebar-nav { .td-sidebar-nav {
scroll-behavior: smooth; scroll-behavior: smooth;
overscroll-behavior: contain; overscroll-behavior: contain;

Loading…
Cancel
Save