From 6c5354edde42f51cc1c642c2ae5b17ea0886dae2 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 14 Mar 2024 11:19:17 +0100 Subject: [PATCH] fix(Tooltip): remove content max-width --- src/theme/tooltip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/tooltip.ts b/src/theme/tooltip.ts index 6ead0c35..49cc492e 100644 --- a/src/theme/tooltip.ts +++ b/src/theme/tooltip.ts @@ -1,6 +1,6 @@ export default { slots: { - content: 'flex items-center gap-1 bg-white dark:bg-gray-900 text-gray-900 dark:text-white shadow rounded ring ring-gray-200 dark:ring-gray-800 h-6 px-2 py-1 text-xs select-none max-w-48 will-change-[transform,opacity] data-[state=delayed-open]:data-[side=top]:animate-[tooltip-down_200ms_ease-out] data-[state=delayed-open]:data-[side=right]:animate-[tooltip-left_200ms_ease-out] data-[state=delayed-open]:data-[side=left]:animate-[tooltip-right_200ms_ease-out] data-[state=delayed-open]:data-[side=bottom]:animate-[tooltip-up_200ms_ease-out]', + content: 'flex items-center gap-1 bg-white dark:bg-gray-900 text-gray-900 dark:text-white shadow rounded ring ring-gray-200 dark:ring-gray-800 h-6 px-2 py-1 text-xs select-none will-change-[transform,opacity] data-[state=delayed-open]:data-[side=top]:animate-[tooltip-down_200ms_ease-out] data-[state=delayed-open]:data-[side=right]:animate-[tooltip-left_200ms_ease-out] data-[state=delayed-open]:data-[side=left]:animate-[tooltip-right_200ms_ease-out] data-[state=delayed-open]:data-[side=bottom]:animate-[tooltip-up_200ms_ease-out]', arrow: 'fill-gray-200 dark:fill-gray-800', text: 'truncate', // eslint-disable-next-line quotes