mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: replace paragraph with div in chart tooltip
This commit is contained in:
parent
361a0ecffd
commit
bbee98b19e
@ -169,7 +169,7 @@ const ChartTooltipContent = React.forwardRef<
|
||||
)}
|
||||
>
|
||||
{!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
|
||||
|
Loading…
Reference in New Issue
Block a user