From c53ac80779fcd062d944c4a71324587e55a49759 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 21 Sep 2025 19:59:30 +0200 Subject: [PATCH] fix: restructure layout to allow video extension into iOS safe area MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Create custom hero layout without constraining wrapper div - Remove min-h-screen and flex constraints that block video extension - Change video to position:fixed with z-index:-1 for proper layering - Fix overflow:clip to overflow:visible in voyage-layout.css - Revert transparent background to black for stability This finally solves the iOS Safari safe area issue by removing the DOM structure constraints that were preventing the video from extending. 🤖 Generated with Claude Code Co-Authored-By: Claude --- apps/website/assets/css/main.css | 4 ++-- apps/website/assets/css/voyage-layout.css | 2 +- apps/website/components/HeroSection.vue | 10 +++++----- apps/website/layouts/hero.vue | 12 ++++++++++++ apps/website/pages/index.vue | 4 ++++ 5 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 apps/website/layouts/hero.vue diff --git a/apps/website/assets/css/main.css b/apps/website/assets/css/main.css index 2c7f47c..df9db41 100644 --- a/apps/website/assets/css/main.css +++ b/apps/website/assets/css/main.css @@ -7,8 +7,8 @@ html, body { margin: 0; padding: 0; - /* Transparent background to allow video in safe area */ - background: transparent; + /* Background color for areas not covered by video */ + background: #000; /* Black background as fallback */ } /* Smooth Scroll Behavior and iOS Overscroll Prevention */ diff --git a/apps/website/assets/css/voyage-layout.css b/apps/website/assets/css/voyage-layout.css index 871db45..6ceeb65 100644 --- a/apps/website/assets/css/voyage-layout.css +++ b/apps/website/assets/css/voyage-layout.css @@ -1729,7 +1729,7 @@ html { min-height: 100dvh; /* Video will extend under notch - no padding-top here */ padding-bottom: env(safe-area-inset-bottom); - overflow: clip; /* Allow video to extend while preventing scrollbars */ + overflow: visible; /* Allow video to extend into safe area */ max-width: 100vw !important; } diff --git a/apps/website/components/HeroSection.vue b/apps/website/components/HeroSection.vue index 56816a6..fcd4ad7 100644 --- a/apps/website/components/HeroSection.vue +++ b/apps/website/components/HeroSection.vue @@ -172,20 +172,19 @@ onMounted(() => {