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 ++++++++++ ui/routes/(app)/+layout.svelte | 10 ---------- 2 files changed, 10 insertions(+), 10 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; +} diff --git a/ui/routes/(app)/+layout.svelte b/ui/routes/(app)/+layout.svelte index e542f24..bafd6b8 100644 --- a/ui/routes/(app)/+layout.svelte +++ b/ui/routes/(app)/+layout.svelte @@ -108,16 +108,6 @@ --interface-padding: 16px; } - /* 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; - } - #interface { margin: unset; display: grid; -- cgit v1.2.3