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:
parent
3dc3150f6d
commit
91aebd62c4
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue