fix chart overflowing on some screen sizes

This commit is contained in:
Gregor Vostrak
2024-09-30 00:14:49 +02:00
parent a882ec6ca0
commit d200de54a8
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ const option = ref({
<template>
<v-chart
class="background-transparent h-[460px]"
class="background-transparent max-w-[300px] mx-auto h-[460px]"
:autoresize="true"
:option="option" />
</template>

View File

@@ -76,7 +76,7 @@ const option = ref({
<template>
<v-chart
class="h-[420px] bg-transparent"
class="h-[420px] max-w-[300px] mx-auto bg-transparent"
:autoresize="true"
:option="option" />
</template>