summaryrefslogtreecommitdiff
path: root/ui/styles/overscroll.css
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-01-11 13:34:40 -0500
committerOwen Jacobson <owen@grimoire.ca>2025-01-11 13:34:40 -0500
commitea0392a2bb12c158f9167105752f8fa315cff47d (patch)
treedec4545ccbe44c8e2baf6e633308359f40ac610a /ui/styles/overscroll.css
parent4e3ad13aca163e733724b205c250bdb67cc56c29 (diff)
parent6d51f8568e337e768505ccfdef916b84dd6eb1b3 (diff)
Merge branch 'prop/stylize'
Diffstat (limited to 'ui/styles/overscroll.css')
-rw-r--r--ui/styles/overscroll.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/styles/overscroll.css b/ui/styles/overscroll.css
new file mode 100644
index 0000000..8898f9a
--- /dev/null
+++ b/ui/styles/overscroll.css
@@ -0,0 +1,9 @@
+/* This should help minimize swipe-to-go-back behaviour, enabling our
+* swipe-to-reveal-channel-menu behaviour. It won't work in all cases; in iOS
+* Safari, when swiping from the screen edge, the OS gets th event and
+* handles it before the browser does.
+*/
+html,
+body {
+ overscroll-behavior-x: none;
+}