summaryrefslogtreecommitdiff
path: root/ui/app.css
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-11-26 01:57:26 -0500
committerOwen Jacobson <owen@grimoire.ca>2024-11-26 01:57:26 -0500
commit5b2db6bbe7749d1b13a06c89a368b3b0849bc368 (patch)
tree188f216012cfe819a3e75e477c8a4cc02936214f /ui/app.css
parent2a9931dc134de69f48eed6acd8c5bf6d4221b936 (diff)
HTML-level styling inside non-top-level elements is not actually applied
Diffstat (limited to 'ui/app.css')
-rw-r--r--ui/app.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/app.css b/ui/app.css
index b5c61c9..b316dea 100644
--- a/ui/app.css
+++ b/ui/app.css
@@ -1,3 +1,13 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+
+/* 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;
+}