From 79a99675e47c37790264e3b93abe08f8bf3363d7 Mon Sep 17 00:00:00 2001 From: Admin Date: Tue, 22 Sep 2026 01:14:06 +0000 Subject: [PATCH] Use dynamic viewport height for Phaser host --- src/main.js | 2 +- src/style.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 723b608..31ef6fd 100644 --- a/src/main.js +++ b/src/main.js @@ -1400,7 +1400,7 @@ const game = new Phaser.Game({ }) window.__DOLLHOUSE__ = { - version: '0.10.4', + version: '0.10.5', game, async resetAll() { await clearGameState() diff --git a/src/style.css b/src/style.css index e130bb9..7d62da4 100644 --- a/src/style.css +++ b/src/style.css @@ -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;