From 84d6d58dd7bed9f73d659af6d12673a5df9d4a2b Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 21 Sep 2025 19:06:08 +0200 Subject: [PATCH] fix: use safe-area-max-inset-top for iOS video extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove ClientOnly and Teleport wrappers that were causing SSR issues - Switch to safe-area-max-inset-top which properly returns notch height on iOS - Change position from fixed to absolute to prevent footer overlap - Add proper fallbacks for browsers without safe-area-max support - Simplify CSS by removing !important flags and duplicate styles This fixes the Safari bug where env(safe-area-inset-top) returns 0 in portrait mode by using safe-area-max-inset-top which always returns the correct notch height. 🤖 Generated with Claude Code Co-Authored-By: Claude --- apps/website/components/HeroSection.vue | 127 +++++++++++------------- 1 file changed, 56 insertions(+), 71 deletions(-) diff --git a/apps/website/components/HeroSection.vue b/apps/website/components/HeroSection.vue index b46cbd3..f245a0a 100644 --- a/apps/website/components/HeroSection.vue +++ b/apps/website/components/HeroSection.vue @@ -1,40 +1,35 @@