From a5c903c1290977eeeffa404a17cb586bc683d2f5 Mon Sep 17 00:00:00 2001 From: Admin Date: Tue, 22 Sep 2026 01:17:40 +0000 Subject: [PATCH] Explicitly bottom-pin Phaser canvas --- src/main.js | 2 +- src/style.css | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main.js b/src/main.js index 31ef6fd..e4340e2 100644 --- a/src/main.js +++ b/src/main.js @@ -1400,7 +1400,7 @@ const game = new Phaser.Game({ }) window.__DOLLHOUSE__ = { - version: '0.10.5', + version: '0.10.6', game, async resetAll() { await clearGameState() diff --git a/src/style.css b/src/style.css index 7d62da4..6f44c0e 100644 --- a/src/style.css +++ b/src/style.css @@ -42,11 +42,14 @@ canvas { #game { - display: flex; - align-items: flex-end; - justify-content: center; + position: relative; } #game > canvas { + position: absolute !important; + left: 50% !important; + right: auto !important; + top: auto !important; + bottom: 0 !important; + transform: translateX(-50%); margin: 0 !important; - flex: 0 0 auto; }