fix: ChartLegend overflow

This commit is contained in:
hamster1963 2024-12-02 09:13:42 +08:00
parent 9db03ed065
commit e43618ee14

View File

@ -278,7 +278,7 @@ const ChartLegendContent = React.forwardRef<
<div <div
ref={ref} ref={ref}
className={cn( className={cn(
"flex items-center justify-center gap-4", "flex flex-wrap items-center justify-center gap-4",
verticalAlign === "top" ? "pb-3" : "pt-3", verticalAlign === "top" ? "pb-3" : "pt-3",
className, className,
)} )}