From 9f9ace2bd02b583c82d9921995c15e8ed2016d51 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Mar 2026 22:02:14 +0000 Subject: [PATCH] Prevent bottom of page from being swipable Leave a dead zone at the bottom of the swipe area so Android gesture navigation (swipe-up-from-bottom for home/app-switcher) is not intercepted as a game swipe. Replaces the fixed `height: 75vh` with `bottom: max(env(safe-area-inset-bottom), 50px)`, which respects OS-reported safe area insets and guarantees at least 50 px of dead zone on devices that don't report one. https://claude.ai/code/session_01GDtKKugiT7tdd2BFc51rdn --- src/styles/components/swipe.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/components/swipe.css b/src/styles/components/swipe.css index 048c13e..176bf10 100644 --- a/src/styles/components/swipe.css +++ b/src/styles/components/swipe.css @@ -3,7 +3,7 @@ top: 25vh; opacity: 0; width: 100%; - height: 75vh; + bottom: max(env(safe-area-inset-bottom), 50px); background-color: lightgray; display: flex; justify-content: center;