Skip to content

Commit

Permalink
Set a fixed WASM screen size
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Jan 30, 2025
1 parent 0f25a84 commit f84aba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<style>
/* Make the html body cover the entire (visual) viewport with no scroll bars. */
html, body { padding: 0; margin: 0; overflow: hidden; height: 100% }
#screen { width: 100%; height: 100%; }
#screen { margin: auto; width: 360px; height: 640px; outline-style: solid; }
</style>
<link rel="icon" type="image/png" href="favicon.ico">
</head>
Expand Down

0 comments on commit f84aba2

Please sign in to comment.