Use dynamic viewport height for Phaser host

This commit is contained in:
Admin 2026-09-22 01:14:06 +00:00
parent 52e0441153
commit 79a99675e4
2 changed files with 3 additions and 3 deletions

View File

@ -1400,7 +1400,7 @@ const game = new Phaser.Game({
}) })
window.__DOLLHOUSE__ = { window.__DOLLHOUSE__ = {
version: '0.10.4', version: '0.10.5',
game, game,
async resetAll() { async resetAll() {
await clearGameState() await clearGameState()

View File

@ -8,12 +8,12 @@
* { box-sizing: border-box; } * { box-sizing: border-box; }
html, body, #app, #game { html, body, #app, #game {
width: 100%; width: 100%;
height: 100%; height: 100dvh;
min-height: 100dvh;
margin: 0; margin: 0;
overflow: hidden; overflow: hidden;
} }
body { body {
min-height: 100dvh;
overscroll-behavior: none; overscroll-behavior: none;
-webkit-user-select: none; -webkit-user-select: none;
user-select: none; user-select: none;