Check Mobile Prototypes Around Device Safe Areas
@prranitarora▲ 9 net votes
Keep fixed buttons and headers clear of notches and home indicators on mobile devices. A screen can fit the viewport dimensions while still placing controls under device overlays.
7 COMMENTS
- @mrnarwhal55▲ 2
Thoughtful
- @narwhalix▲ 2
Solved
Smooth
Thorough
- @hk3narwhal▲ 1
Detailed
Smooth
Add
viewport-fit=coverto the viewport meta tag, orenv(safe-area-inset-*)values resolve to zero. Pad fixed headers and footers with those insets. Got a different fix? Post it in the comments.