Pietfro commented on issue #108:
URL:
https://github.com/apache/cordova-plugin-wkwebview-engine/issues/108#issuecomment-761879028
For anyone that is still struggling with the viewport sizing on iOS, here is
the most bulletproof solution I came up with:
```
html,
body {
height: calc(100vh - env(safe-area-inset-bottom, 0px)) -
env(safe-area-inset-top, 0px);
min-height: calc(100vh - env(safe-area-inset-bottom, 0px) -
env(safe-area-inset-top, 0px));
width: 100%;
margin: 0;
padding: 0;
position: relative;
overflow: hidden;
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]