mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 11:20:36 +01:00
fix(Tooltip): hide on touch devices (#580)
This commit is contained in:
@@ -946,7 +946,7 @@ const tooltip = {
|
|||||||
shadow: 'shadow',
|
shadow: 'shadow',
|
||||||
rounded: 'rounded',
|
rounded: 'rounded',
|
||||||
ring: 'ring-1 ring-gray-200 dark:ring-gray-800',
|
ring: 'ring-1 ring-gray-200 dark:ring-gray-800',
|
||||||
base: 'invisible lg:visible h-6 px-2 py-1 text-xs font-normal truncate',
|
base: '[@media(pointer:coarse)]:hidden h-6 px-2 py-1 text-xs font-normal truncate',
|
||||||
shortcuts: 'hidden md:inline-flex flex-shrink-0 gap-0.5',
|
shortcuts: 'hidden md:inline-flex flex-shrink-0 gap-0.5',
|
||||||
// Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
|
// Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
|
||||||
transition: {
|
transition: {
|
||||||
|
|||||||
Reference in New Issue
Block a user