mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-11 05:54:10 +01:00
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
|
|
@ -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…
Reference in a new issue