Remove whitespace around game component

This commit is contained in:
Dennis Postma 2024-09-07 20:04:25 +02:00
parent 1d36ed349b
commit 9c309630ae

View File

@ -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