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__ = {
version: '0.10.4',
version: '0.10.5',
game,
async resetAll() {
await clearGameState()

View File

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