I'm trying to get my website to fit inside my phone screen. I have tried many variations of env(safe-area-inset-bottom) and constant(safe-area-inset-bottom) but both always return 0px (I've been using an app called
CodePudding user response:
I think I made it work using -webkit-fill-available
the other day which respects safe area.
body {
min-height: -webkit-fill-available;
}