From 9cd0cebd06937f9b12eec4fbf78a16366d5621fe Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Sun, 16 Jun 2024 21:05:45 +0200 Subject: [PATCH] fix: Tooltip appearing when hovering over the tooltip, not the child --- desktop/src/ui/components/base/Tooltip.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/src/ui/components/base/Tooltip.module.scss b/desktop/src/ui/components/base/Tooltip.module.scss index 0838be33..09cb9fa6 100644 --- a/desktop/src/ui/components/base/Tooltip.module.scss +++ b/desktop/src/ui/components/base/Tooltip.module.scss @@ -7,6 +7,7 @@ &::after { content: attr(data-text); + @apply pointer-events-none; @apply opacity-0 transition-opacity; @apply absolute left-1/2 -translate-x-1/2 bottom-6; @apply min-w-44 w-max max-w-52;