Use dynamic viewport height for Phaser host
This commit is contained in:
parent
52e0441153
commit
79a99675e4
@ -1400,7 +1400,7 @@ const game = new Phaser.Game({
|
||||
})
|
||||
|
||||
window.__DOLLHOUSE__ = {
|
||||
version: '0.10.4',
|
||||
version: '0.10.5',
|
||||
game,
|
||||
async resetAll() {
|
||||
await clearGameState()
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user