CSS hack to fix scroll anchoring (#1183)

Disable explicit `height` setting for the top-level div, which breaks scroll
anchoring
pull/1193/head
Richard van der Hoff 2 years ago committed by GitHub
parent 3dc3150f6d
commit 91aebd62c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,6 +29,12 @@ Custom SCSS for the Matrix spec
*/ */
@import "syntax.scss"; @import "syntax.scss";
/* Workaround for https://github.com/google/docsy/issues/1116:
* fix scroll-anchoring */
.td-outer {
height: auto;
}
/* Overrides for the navbar */ /* Overrides for the navbar */
.td-navbar { .td-navbar {
box-shadow: 0px 0px 8px rgba(179, 179, 179, 0.25); box-shadow: 0px 0px 8px rgba(179, 179, 179, 0.25);

Loading…
Cancel
Save