CSS hack to fix scroll anchoring

Disable explicit `height` setting for the top-level div, which breaks scroll
anchoring
This commit is contained in:
Richard van der Hoff 2022-07-26 17:21:37 +01:00
parent 119197e798
commit 2131950c64

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);