Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit b837094

Browse files
SelemondevSelemondev
Selemondev
authored and
Selemondev
committed
fix(Tooltip): hide on touch devices
1 parent ef831a3 commit b837094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt-ui-vue/src/theme/nuxtLabsTheme.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ export default {
12651265
shadow: 'shadow',
12661266
rounded: 'rounded',
12671267
ring: 'ring-1 ring-gray-200 dark:ring-gray-800',
1268-
toolTipBase: 'invisible lg:visible h-6 px-2 py-1 text-xs font-normal truncate',
1268+
toolTipBase: '[@media(pointer:coarse)]:hidden h-6 px-2 py-1 text-xs font-normal truncate',
12691269
shortcuts: 'hidden md:inline-flex flex-shrink-0 gap-0.5',
12701270
transitionEnterActiveClass: 'transition ease-out duration-200',
12711271
transitionEnterFromClass: 'opacity-0 translate-y-1',

0 commit comments

Comments
 (0)