Explicitly bottom-pin Phaser canvas
This commit is contained in:
parent
79a99675e4
commit
a5c903c129
@ -1400,7 +1400,7 @@ const game = new Phaser.Game({
|
|||||||
})
|
})
|
||||||
|
|
||||||
window.__DOLLHOUSE__ = {
|
window.__DOLLHOUSE__ = {
|
||||||
version: '0.10.5',
|
version: '0.10.6',
|
||||||
game,
|
game,
|
||||||
async resetAll() {
|
async resetAll() {
|
||||||
await clearGameState()
|
await clearGameState()
|
||||||
|
|||||||
@ -42,11 +42,14 @@ canvas {
|
|||||||
|
|
||||||
|
|
||||||
#game {
|
#game {
|
||||||
display: flex;
|
position: relative;
|
||||||
align-items: flex-end;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
#game > canvas {
|
#game > canvas {
|
||||||
|
position: absolute !important;
|
||||||
|
left: 50% !important;
|
||||||
|
right: auto !important;
|
||||||
|
top: auto !important;
|
||||||
|
bottom: 0 !important;
|
||||||
|
transform: translateX(-50%);
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
flex: 0 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user