Revert "fix: restructure layout to allow video extension into iOS safe area"
All checks were successful
build-website / build (push) Successful in 1m49s
All checks were successful
build-website / build (push) Successful in 1m49s
This reverts commit c53ac80779.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user