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__ = {
|
window.__DOLLHOUSE__ = {
|
||||||
version: '0.10.4',
|
version: '0.10.5',
|
||||||
game,
|
game,
|
||||||
async resetAll() {
|
async resetAll() {
|
||||||
await clearGameState()
|
await clearGameState()
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user