diff --git a/src/runtime/presets/default.ts b/src/runtime/presets/default.ts index bd7a5e4e..bec25e5b 100644 --- a/src/runtime/presets/default.ts +++ b/src/runtime/presets/default.ts @@ -478,8 +478,8 @@ export default (variantColors: string[]) => { const tooltip = { wrapper: 'relative inline-flex', container: 'z-20', - width: '', - base: 'flex items-center justify-center invisible w-auto h-6 max-w-xs px-2 space-x-1 truncate rounded shadow lg:visible u-bg-gray-800 truncate u-text-gray-50 text-xs', + width: 'max-w-xs', + base: 'invisible w-auto h-6 px-2 py-1 space-x-1 truncate rounded shadow lg:visible u-bg-gray-800 truncate u-text-gray-50 text-xs', transition: { enterActiveClass: 'transition ease-out duration-200', enterFromClass: 'opacity-0 translate-y-1',