Prevent accidental browser history nav
When scrolling inside deeply nested comments
This commit is contained in:
parent
1c87dd6e41
commit
8858ce3e89
|
@ -274,6 +274,7 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
||||||
background-color: var(--bg-color);
|
background-color: var(--bg-color);
|
||||||
box-shadow: inset 0 -3px var(--comment-line-color),
|
box-shadow: inset 0 -3px var(--comment-line-color),
|
||||||
inset 0 3px var(--comment-line-color);
|
inset 0 3px var(--comment-line-color);
|
||||||
|
overscroll-behavior-x: contain;
|
||||||
}
|
}
|
||||||
.timeline.contextual .replies[data-comments-level='4'] {
|
.timeline.contextual .replies[data-comments-level='4'] {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|
Loading…
Reference in a new issue