Fix storage chart legend overflow

This commit is contained in:
Wayne
2025-08-24 16:02:58 +02:00
parent 9873ab263a
commit 3c6254504b

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"