Remove whitespace around game component
This commit is contained in:
parent
1d36ed349b
commit
9c309630ae
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="flex justify-center items-center h-dvh p-8 relative">
|
||||
<div class="flex justify-center items-center h-dvh relative">
|
||||
<GmTools v-if="isLoaded && gameStore.character?.role === 'gm'" />
|
||||
<GmPanel v-if="isLoaded && gameStore.character?.role === 'gm'" />
|
||||
<Inventory />
|
||||
@ -64,10 +64,8 @@ const gameConfig = {
|
||||
height: window.innerHeight,
|
||||
type: Phaser.AUTO,
|
||||
scale: {
|
||||
mode: Phaser.Scale.RESIZE,
|
||||
mode: Phaser.Scale.EXPAND,
|
||||
autoCenter: Phaser.Scale.CENTER_BOTH,
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight
|
||||
},
|
||||
resolution: 5,
|
||||
pixelArt: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user