fix: add spacing to chart tooltip

This commit is contained in:
Esdras Renan 2025-10-18 21:39:48 -03:00
parent 422cba2b83
commit 40e92cf2b9

View file

@ -222,12 +222,12 @@ function ChartTooltipContent({
/> />
) )
)} )}
<div <div
className={cn( className={cn(
"flex flex-1 justify-between leading-none", "flex flex-1 justify-between gap-2 leading-none",
nestLabel ? "items-end" : "items-center" nestLabel ? "items-end" : "items-center"
)} )}
> >
<div className="grid gap-1.5"> <div className="grid gap-1.5">
{nestLabel ? tooltipLabel : null} {nestLabel ? tooltipLabel : null}
<span className="text-muted-foreground"> <span className="text-muted-foreground">