Skip to content

Commit f84aba2

Browse files
committed
Set a fixed WASM screen size
1 parent 0f25a84 commit f84aba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wasm/test.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<style>
1616
/* Make the html body cover the entire (visual) viewport with no scroll bars. */
1717
html, body { padding: 0; margin: 0; overflow: hidden; height: 100% }
18-
#screen { width: 100%; height: 100%; }
18+
#screen { margin: auto; width: 360px; height: 640px; outline-style: solid; }
1919
</style>
2020
<link rel="icon" type="image/png" href="favicon.ico">
2121
</head>

0 commit comments

Comments
 (0)