fix: use position fixed for video to escape all containing blocks and extend into iOS safe areas
All checks were successful
build-website / build (push) Successful in 1m47s
All checks were successful
build-website / build (push) Successful in 1m47s
This commit is contained in:
@@ -174,7 +174,7 @@ onMounted(() => {
|
||||
<style scoped>
|
||||
/* Hero video container using standard safe-area-inset-top for iOS Safari */
|
||||
.hero-video-container {
|
||||
position: absolute;
|
||||
position: fixed; /* Use fixed to escape ALL containing blocks and position relative to viewport */
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100vw;
|
||||
@@ -260,7 +260,7 @@ onMounted(() => {
|
||||
|
||||
/* Container for hero section */
|
||||
.hero-voyage {
|
||||
position: relative;
|
||||
position: static; /* Remove containing block to allow video to escape */
|
||||
min-height: 100vh;
|
||||
/* Allow video to extend into safe area */
|
||||
overflow: visible;
|
||||
@@ -268,7 +268,7 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: absolute; /* Changed from relative to occupy safe areas */
|
||||
position: fixed; /* Use fixed to match video container positioning */
|
||||
top: 0; /* Start at viewport top */
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
Reference in New Issue
Block a user