fix: extend recipe hero images into status bar safe area
Account for env(safe-area-inset-top) in the hero negative margin-top so images fill the status bar area on edge-to-edge Android instead of leaving empty space.
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
.section {
|
||||
margin-bottom: -20vh;
|
||||
margin-top: calc(-3.5rem - 12px);
|
||||
margin-top: calc(-3.5rem - 12px - env(safe-area-inset-top, 0px));
|
||||
transform-origin: center top;
|
||||
transform: scaleY(calc(1 - var(--scale)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user