Closed vespino closed 5 years ago
Is there a way to set a background color under the "homebar"?
I have used this explanation to work out the basic iPhone X layout issues: https://blog.phonegap.com/displaying-a-phonegap-app-correctly-on-the-iphone-x-c4a85664c493. The basis is great, but there are still some issues.
I have tried both margin-bottom and padding-bottom on my footer div. Must I also set this margin/padding to the content div or body?
Adding the following to my footer solves this issue for me:
padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
Is there a way to set a background color under the "homebar"?
I have used this explanation to work out the basic iPhone X layout issues: https://blog.phonegap.com/displaying-a-phonegap-app-correctly-on-the-iphone-x-c4a85664c493. The basis is great, but there are still some issues.
I have tried both margin-bottom and padding-bottom on my footer div. Must I also set this margin/padding to the content div or body?