From d08e64d53fa439f34d51909bcb6812f1bcd95d83 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 22 Feb 2023 15:59:01 +0100 Subject: [PATCH] fix(Tooltip): truncate --- src/runtime/components/overlays/Tooltip.vue | 2 +- src/runtime/presets/default.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/overlays/Tooltip.vue b/src/runtime/components/overlays/Tooltip.vue index 2349a438..38038432 100644 --- a/src/runtime/components/overlays/Tooltip.vue +++ b/src/runtime/components/overlays/Tooltip.vue @@ -8,7 +8,7 @@
- {{ text }} + {{ text }} diff --git a/src/runtime/presets/default.ts b/src/runtime/presets/default.ts index 1d843176..6bd4341c 100644 --- a/src/runtime/presets/default.ts +++ b/src/runtime/presets/default.ts @@ -520,7 +520,7 @@ export default function defaultPreset (variantColors: string[]) { shadow: 'shadow', rounded: 'rounded', ring: 'ring-1 u-ring-gray-200', - base: 'invisible lg:visible h-6 px-2 py-1 text-xs font-normal', + base: 'invisible lg:visible h-6 px-2 py-1 text-xs font-normal truncate', transition: { enterActiveClass: 'transition ease-out duration-200', enterFromClass: 'opacity-0 translate-y-1',