mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-21 08:58:38 +01:00
Suppress scroll-anchoring in the sidebar (#992)
This commit is contained in:
parent
7293744a5e
commit
d199c05e97
|
|
@ -41,6 +41,11 @@ Custom SCSS for the Matrix spec
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Styles for the sidebar nav */
|
/* Styles for the sidebar nav */
|
||||||
|
.td-sidebar {
|
||||||
|
/* don't attempt to use the sidebar (or things in it) as a scroll anchor. */
|
||||||
|
overflow-anchor: none;
|
||||||
|
}
|
||||||
|
|
||||||
.td-sidebar-nav {
|
.td-sidebar-nav {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue