From 1b9581e90a3d96f0186ad32fc39894c292194529 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 21 Sep 2025 20:06:33 +0200 Subject: [PATCH] Revert "fix: restructure layout to allow video extension into iOS safe area" This reverts commit c53ac80779fcd062d944c4a71324587e55a49759. --- 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, 8 insertions(+), 24 deletions(-) delete mode 100644 apps/website/layouts/hero.vue diff --git a/apps/website/assets/css/main.css b/apps/website/assets/css/main.css index df9db41..2c7f47c 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; - /* Background color for areas not covered by video */ - background: #000; /* Black background as fallback */ + /* Transparent background to allow video in safe area */ + background: transparent; } /* 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 6ceeb65..871db45 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: visible; /* Allow video to extend into safe area */ + overflow: clip; /* Allow video to extend while preventing scrollbars */ max-width: 100vw !important; } diff --git a/apps/website/components/HeroSection.vue b/apps/website/components/HeroSection.vue index fcd4ad7..56816a6 100644 --- a/apps/website/components/HeroSection.vue +++ b/apps/website/components/HeroSection.vue @@ -172,19 +172,20 @@ onMounted(() => {