disable overscroll events where they annoy me

This commit is contained in:
Ted Unangst 2019-11-21 01:00:03 -05:00
parent 0a6ec93384
commit dfaeefbab9
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@ changelog
-- next -- next
+ Disable overscroll (pull down) refresh.
+ Can never seem to version the changelog correctly. + Can never seem to version the changelog correctly.
-- 0.8.4 -- 0.8.4

View File

@ -13,6 +13,7 @@ body {
word-wrap: break-word; word-wrap: break-word;
font-family: sans-serif, "Noto Color Emoji"; font-family: sans-serif, "Noto Color Emoji";
line-height: 1.2; line-height: 1.2;
overscroll-behavior-y: contain;
} }
pre, code { pre, code {
white-space: pre-wrap; white-space: pre-wrap;
@ -67,6 +68,7 @@ header > details {
max-height: calc(100% - 1em); max-height: calc(100% - 1em);
overflow: auto; overflow: auto;
opacity: 0.7; opacity: 0.7;
overscroll-behavior: contain;
} }
header > details[open] { header > details[open] {
padding: 1em 1em 0em 1em; padding: 1em 1em 0em 1em;