fix: replace paragraph with div in chart tooltip

This commit is contained in:
hamster1963 2025-01-28 16:08:42 +08:00
parent 361a0ecffd
commit bbee98b19e

View File

@ -169,7 +169,7 @@ const ChartTooltipContent = React.forwardRef<
)} )}
> >
{!nestLabel && ( {!nestLabel && (
<p className="px-2.5 pt-1 mx-auto -mb-1">{!nestLabel ? tooltipLabel : null}</p> <div className="px-2.5 pt-1 mx-auto -mb-1">{!nestLabel ? tooltipLabel : null}</div>
)} )}
<div <div