wasm: Use % instead of vh for canvas dimensions
Pick-to: 6.3 Fixes: QTBUG-95067 Change-Id: I19e439eb81200728c2b773ab6799bb205caa1231 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>bb10
parent
9c6b986d96
commit
367f96aedf
|
|
@ -12,7 +12,7 @@
|
|||
<title>@APPNAME@</title>
|
||||
<style>
|
||||
/* Make the html body cover the entire (visual) viewport with no scroll bars. */
|
||||
html, body { padding: 0; margin: 0; overflow:hidden; height: 100vh }
|
||||
html, body { padding: 0; margin: 0; overflow:hidden; height: 100% }
|
||||
/* Make the canvas cover the entire body */
|
||||
canvas { height:100%; width:100%; }
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue