summaryrefslogtreecommitdiff
path: root/ui/styles/overscroll.css
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-12-30 15:43:01 -0500
committerKit La Touche <kit@transneptune.net>2024-12-30 15:43:01 -0500
commit628337f3afcd5125299cbf620832779ab209022b (patch)
treee23a47f6ba8e75640e6dcf1bb5acaef0b491313d /ui/styles/overscroll.css
parent1859be064a5f3ea7e6e0188526b1b125dc1c77a7 (diff)
Add in some hand-rolled styles
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;
+}