Skip to content

Commit

Permalink
fix: add css to EntityField (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
asanehisa authored Aug 28, 2024
1 parent 059db80 commit 6a78b57
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions src/components/EntityField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,27 @@ export const EntityField = ({
}

return (
<TooltipProvider>
<Tooltip open={tooltipsVisible && !!tooltipContent}>
<TooltipTrigger>
<div
className={
tooltipsVisible
? "ve-outline-2 ve-outline-dotted" + " ve-outline-[#5A58F2]"
: ""
}
>
{children}
</div>
</TooltipTrigger>
<TooltipContent>
<p>{tooltipContent}</p>
<TooltipArrow fill="bg-popover" />
</TooltipContent>
</Tooltip>
</TooltipProvider>
<div className="puck-css">
<TooltipProvider>
<Tooltip open={tooltipsVisible && !!tooltipContent}>
<TooltipTrigger>
<div
className={
tooltipsVisible
? "ve-outline-2 ve-outline-dotted" + " ve-outline-[#5A58F2]"
: ""
}
>
{children}
</div>
</TooltipTrigger>
<TooltipContent>
<p>{tooltipContent}</p>
<TooltipArrow fill="bg-popover" />
</TooltipContent>
</Tooltip>
</TooltipProvider>
</div>
);
};

Expand Down

0 comments on commit 6a78b57

Please sign in to comment.