Skip to content

Commit

Permalink
fix(Tooltip): arrow not hidden on mobile
Browse files Browse the repository at this point in the history
Resolves #1470
  • Loading branch information
benjamincanac committed Mar 4, 2024
1 parent 6a1142b commit 272c19d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/runtime/ui.config/overlays/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ export default {
openDelay: 0,
closeDelay: 0
},
arrow
arrow: {
...arrow,
base: '[@media(pointer:coarse)]:hidden invisible before:visible before:block before:rotate-45 before:z-[-1] before:w-2 before:h-2'
}
}

0 comments on commit 272c19d

Please sign in to comment.