Skip to content

Commit

Permalink
fix chart overflowing on some screen sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Onatcer authored and korridor committed Sep 30, 2024
1 parent 6b6527c commit f4195b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Components/Dashboard/ProjectsChartCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit f4195b8

Please sign in to comment.