From 8ec50fbf49d8b31eacc42bfe36547f6789224655 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 21 Sep 2025 19:32:56 +0200 Subject: [PATCH] fix: comprehensive iOS Safari safe area video extension fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove invalid safe-area-max-inset-top (not a valid CSS property) - Use standard safe-area-inset-top with iOS Safari workarounds - Remove white background from video container (was blocking transparency) - Change html/body background to transparent for safe area visibility - Update status bar style to black-translucent for content under notch - Add hardcoded fallbacks for iOS Safari portrait bug (env returns 0) This fixes the issue where the video wasn't extending into the iPhone notch/Dynamic Island by addressing the root causes: invalid CSS properties, blocking backgrounds, and Safari bugs. 🤖 Generated with Claude Code Co-Authored-By: Claude --- apps/website/assets/css/main.css | 3 ++- apps/website/components/HeroSection.vue | 33 +++++++++++++++++-------- apps/website/nuxt.config.ts | 2 +- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/apps/website/assets/css/main.css b/apps/website/assets/css/main.css index 9b7ca7b..2c7f47c 100644 --- a/apps/website/assets/css/main.css +++ b/apps/website/assets/css/main.css @@ -7,7 +7,8 @@ html, body { margin: 0; padding: 0; - background: #fff; /* White background fallback for safe area */ + /* Transparent background to allow video in safe area */ + background: transparent; } /* Smooth Scroll Behavior and iOS Overscroll Prevention */ diff --git a/apps/website/components/HeroSection.vue b/apps/website/components/HeroSection.vue index f245a0a..56816a6 100644 --- a/apps/website/components/HeroSection.vue +++ b/apps/website/components/HeroSection.vue @@ -172,26 +172,26 @@ onMounted(() => {