Revert "fix: restructure layout to allow video extension into iOS safe area"
All checks were successful
build-website / build (push) Successful in 1m49s

This reverts commit c53ac80779.
This commit is contained in:
2025-09-21 20:06:33 +02:00
parent c53ac80779
commit 1b9581e90a
5 changed files with 8 additions and 24 deletions

View File

@@ -172,19 +172,20 @@ onMounted(() => {
</script>
<style scoped>
/* Hero video container using fixed positioning for iOS Safari safe area */
/* Hero video container using standard safe-area-inset-top for iOS Safari */
.hero-video-container {
position: fixed !important; /* Fixed to extend beyond layout constraints */
position: absolute;
left: 0;
right: 0;
width: 100vw;
/* Use standard safe-area-inset-top */
/* Pull up by the safe area to extend under notch */
top: calc(-1 * env(safe-area-inset-top, 0px));
/* Extend height to compensate */
height: calc(100vh + env(safe-area-inset-top, 0px));
z-index: -1; /* Behind all content */
z-index: 0;
pointer-events: none;
/* No background color to allow video visibility */
/* Removed white background to allow transparency */
}
/* iOS Safari portrait bug workaround - env() returns 0 in portrait */
@@ -266,7 +267,6 @@ onMounted(() => {
min-height: 100vh;
/* Allow video to extend into safe area */
overflow: visible;
z-index: 1; /* Above fixed video background */
}
.hero-main {