Safe Area
My mobile bottom bar overlaps the iPhone home indicator, so tapping it often swipes me out of the app.
env(safe-area-inset-bottom) so backgrounds extend to the screen edge while buttons remain above the home indicator. On the web, non-zero inset values require viewport-fit=cover in the viewport meta tag; hardcoding a fixed pixel offset breaks on phones with different notch or gesture-bar dimensions.You can say this to an AI Agent
Ready to paste into Cursor, Claude Code, or CodexAdd safe-area support to the fixed mobile header and bottom bar: ensure the viewport meta tag includes `viewport-fit=cover`, use `padding-bottom: calc(12px + env(safe-area-inset-bottom))` on the bottom bar, and apply left/right insets for landscape notches so backgrounds reach the edge while buttons stay clear. Verify in both portrait and landscape.
