diff options
| -rw-r--r-- | ui/app.css | 10 | ||||
| -rw-r--r-- | ui/routes/(app)/+layout.svelte | 10 |
2 files changed, 10 insertions, 10 deletions
@@ -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; |
