kzimny commented on issue #143:
URL: 
https://github.com/apache/cordova-plugin-wkwebview-engine/issues/143#issuecomment-622535445


   Yes, I solved the margin problem with meta viewport setting:
   
   ```html
   <!doctype html>
   <html lang="en">
   <head>
       <meta charset="utf-8">
       <title>My page</title>
       <script>document.write('<base href="' + document.location + '" 
/>');</script>
       <meta name="viewport" content="width=device-width, initial-scale=1, 
maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
       <link rel="icon" type="image/x-icon" href="assets/favicon/favicon.ico">
       <script type="text/javascript" src="cordova.js"></script>
   </head>
       <body>
           <root></root>
       </body>
   </html>
   
   ```


----------------------------------------------------------------
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]

Reply via email to