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