From dfaeefbab9fefa2e097a9a3d8bb3ffbba212a68f Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 21 Nov 2019 01:00:03 -0500 Subject: [PATCH] disable overscroll events where they annoy me --- docs/changelog.txt | 2 ++ views/style.css | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/changelog.txt b/docs/changelog.txt index f659e8d..2ade4c8 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -2,6 +2,8 @@ changelog -- next ++ Disable overscroll (pull down) refresh. + + Can never seem to version the changelog correctly. -- 0.8.4 diff --git a/views/style.css b/views/style.css index 18b5e0d..f56b479 100644 --- a/views/style.css +++ b/views/style.css @@ -13,6 +13,7 @@ body { word-wrap: break-word; font-family: sans-serif, "Noto Color Emoji"; line-height: 1.2; + overscroll-behavior-y: contain; } pre, code { white-space: pre-wrap; @@ -67,6 +68,7 @@ header > details { max-height: calc(100% - 1em); overflow: auto; opacity: 0.7; + overscroll-behavior: contain; } header > details[open] { padding: 1em 1em 0em 1em;