From 628337f3afcd5125299cbf620832779ab209022b Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Mon, 30 Dec 2024 15:43:01 -0500 Subject: Add in some hand-rolled styles --- ui/styles/overscroll.css | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ui/styles/overscroll.css (limited to 'ui/styles/overscroll.css') 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; +} -- cgit v1.2.3