chore(Tooltip): update preset for truncate (#90)

This commit is contained in:
Sylvain Marroufin
2022-10-10 15:44:39 +02:00
committed by GitHub
parent 7da11ccec0
commit de9596bfc4

View File

@@ -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',