From 283b502963ec341b98c3fbb8d4c3c785656d34bb Mon Sep 17 00:00:00 2001 From: Karli Date: Thu, 4 Sep 2025 12:41:18 +0300 Subject: [PATCH] fix tooltip should wrap long text --- packages/shared/src/components/ui/info-tooltip.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/shared/src/components/ui/info-tooltip.tsx b/packages/shared/src/components/ui/info-tooltip.tsx index 0573e79..10a7ae3 100644 --- a/packages/shared/src/components/ui/info-tooltip.tsx +++ b/packages/shared/src/components/ui/info-tooltip.tsx @@ -13,7 +13,7 @@ export function InfoTooltip({ content, icon, }: { - content?: string | null; + content?: JSX.Element | string | null; icon?: JSX.Element; }) { if (!content) return null; @@ -23,7 +23,7 @@ export function InfoTooltip({ {icon || } - {content} + {content} );