diff --git a/composer.json b/composer.json index e9d88ea..9e11842 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "blackbird/hyva-tooltip", - "version": "1.0.3", + "version": "1.0.4", "authors": [ { "name": "Blackbird Agency", diff --git a/src/view/frontend/tailwind/components/common.css b/src/view/frontend/tailwind/components/common.css index eac3a2c..16938a8 100644 --- a/src/view/frontend/tailwind/components/common.css +++ b/src/view/frontend/tailwind/components/common.css @@ -1,9 +1,9 @@ @layer components { [blackbird-tooltip] { @apply hidden max-w-[min(100%,19rem)] absolute top-0 left-0 bg-secondary text-secondary py-1 px-2 rounded - opacity-0 transition-opacity; + pointer-events-none opacity-0 transition-opacity z-20; &[show] { - @apply opacity-100; + @apply pointer-events-auto opacity-100; } [arrow] { @apply absolute w-2.5 h-2.5 bg-inherit -z-10 pointer-events-none rotate-45;