You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/05/10 17:10:22 UTC

[GitHub] [cordova-plugin-wkwebview-engine] devXpro commented on issue #172: height 100% not correct on iPhone X. goes away after rotating?

devXpro commented on issue #172:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/172#issuecomment-836983542


   Try this:
   `body {
     overflow: hidden !important;
     height: 100vh;
     min-height: 100vh;
     box-sizing: border-box;
     margin:0px;
     padding:0px;
     width: 100%;
   
     padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left); /* iOS 11.0 */
     padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); /* iOS 11.2 */
   }`


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org