From 9df7c06205bc250607c9a4288216a387f9226757 Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Mon, 8 Jan 2024 14:38:11 +0100 Subject: [PATCH] Update custom-tooltip.tsx --- libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx b/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx index f3afd78d64..b199c1d8a9 100644 --- a/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx +++ b/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx @@ -15,14 +15,15 @@ export function CustomTooltip({ children, placement, tooltipId, tooltipClasses, return ( (!hide ? ( - + className={'text-wrap p-1 px-2 bg-secondary w-100' + tooltipClasses} + > {typeof tooltipText === 'string' ? {tooltipText} : tooltipText}