Fixed issue with hover tooltips.

This commit is contained in:
Mike Cao committed 2023-06-15 20:15:31 -07:00
1 parent 2b13002f1b
commit ab0838e272
20 files changed
+50 -91

No files matched your search

+3 -3
View File
@@ -18,9 +18,9 @@ export function HoverTooltip({ children }) {
}, []);
return (
<div className={styles.tooltip} style={{ left: position.x, top: position.y - 16 }}>
<Tooltip position="top" action="none" label={children} />
</div>
<Tooltip className={styles.tooltip} style={{ left: position.x, top: position.y }}>
{children}
</Tooltip>
);
}