fix: tooltip child centering

This commit is contained in:
DIYgod 2023-02-03 18:15:16 +00:00
parent 092372258b
commit 8907ac00a0
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

View File

@ -44,7 +44,11 @@ export const Tooltip = ({ children, label, placement = "top" }: Props) => {
return (
<>
<div ref={refs.setReference} {...getReferenceProps()}>
<div
ref={refs.setReference}
{...getReferenceProps()}
className="flex items-center"
>
{children}
</div>
{isMounted && (