Built in support for safe-area-inset env variables #5396
lukewarlow
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Made a PR to add the basic values (i.e. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I've been adding my own safe padding for years and it's really helpful for phones with islands, notches, or UI components you can't avoid like the white line on the bottom of iPhones. Margin doesn't allow for full screen as padding does. It would be nice if something similar was included by default. I set the min padding but there could be something like Here's what I do on all my projects.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice if there were built in utilities for handling the
safe-area-inset
env variables. These are a requirement for making good mobile experiences (at least on iOS).Beta Was this translation helpful? Give feedback.
All reactions