CSS hack to fix scroll anchoring (#1183)

Disable explicit `height` setting for the top-level div, which breaks scroll
anchoring
This commit is contained in:
Richard van der Hoff 2022-08-01 11:08:15 +01:00 committed by GitHub
parent 3dc3150f6d
commit 91aebd62c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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