From 5b2db6bbe7749d1b13a06c89a368b3b0849bc368 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 26 Nov 2024 01:57:26 -0500 Subject: HTML-level styling inside non-top-level elements is not actually applied --- ui/app.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ui/app.css') 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; +} -- cgit v1.2.3