diff options
fix tooltip when the element is disabled
1 files changed, 5 insertions, 1 deletions
| -rw-r--r-- | dist/spectre.css | 6 |
diff --git a/dist/spectre.css b/dist/spectre.css index e1782f3..59dc23c 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -389,7 +389,7 @@ a:focus { [disabled], .disabled { cursor: default; - opacity: .5; + opacity: .75; pointer-events: none; } .btn .icon, @@ -1914,6 +1914,10 @@ textarea.form-input { -webkit-transform: translate(-50%, -.5rem); transform: translate(-50%, -.5rem); } +.tooltip[disabled], +.tooltip.disabled { + pointer-events: auto; +} .tooltip.tooltip-right::after { bottom: 50%; left: 100%; |