Fix: storage chart legend overflow (#70)

* Fix storage chart legend overflow

* fix storage legend overflow

---------

Co-authored-by: Wayne <5291640+ringoinca@users.noreply.github.com>
This commit is contained in:
Wei S.
2025-08-24 17:10:24 +03:00
committed by GitHub
parent a2c55f36ee
commit f1da17e484

View File

@@ -14,7 +14,10 @@
} satisfies ChartConfig;
</script>
<Chart.Container config={chartConfig} class="h-full min-h-[300px] w-full">
<Chart.Container
config={chartConfig}
class="flex h-full w-full flex-col overflow-y-auto [&_.lc-legend-swatch-group]:overflow-x-auto "
>
<PieChart
{data}
key="name"