Skip to content

Commit

Permalink
fix(Tooltip): hide on touch devices (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanling authored and benjamincanac committed Sep 7, 2023
1 parent 11980a3 commit f1ed007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ const tooltip = {
shadow: 'shadow',
rounded: 'rounded',
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',
// Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
transition: {
Expand Down

0 comments on commit f1ed007

Please sign in to comment.