Emscripten: Try to fill the page with the canvas window

This commit is contained in:
ROllerozxa 2025-12-28 19:57:10 +01:00
commit 3ea46595b8

View file

@ -9,7 +9,7 @@
body {
margin: 0;
padding: 0;
background: #000513;
background: #0f1111;
color: white;
}
canvas {
@ -17,9 +17,8 @@ canvas {
margin: auto;
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
aspect-ratio: 16 / 9;
max-width: 100%;
max-height: 100%;
width: 100%;
height: 100%;
}
</style>
</head>