Fix insight tooltip placement
This commit is contained in:
parent
e5214e515c
commit
61d5456b29
@ -135,7 +135,7 @@ export default function AdminAppInsightsClient({
|
|||||||
const renderTooltipContent = (content: ReactNode) =>
|
const renderTooltipContent = (content: ReactNode) =>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content={content}
|
content={content}
|
||||||
classNameTrigger="translate-y-[4.5px] ml-1.5"
|
classNameTrigger="ml-1.5"
|
||||||
supportMobile
|
supportMobile
|
||||||
/>;
|
/>;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,9 @@ export default function Tooltip({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<TooltipPrimitive {...rest}>
|
<TooltipPrimitive {...rest}>
|
||||||
{children ?? <IoInformationCircleOutline size={18} />}
|
{children ?? <span className="h-3.5">
|
||||||
|
<IoInformationCircleOutline size={18} />
|
||||||
|
</span>}
|
||||||
</TooltipPrimitive>
|
</TooltipPrimitive>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user