Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Zhu <picturepan2@hotmail.com>2016-05-18 13:42:15 +0300
committerYan Zhu <picturepan2@hotmail.com>2016-05-18 13:42:15 +0300
commit15746d90fba75b8845a5f607130ec16ff86f4eb0 (patch)
treeceb2de00f3f88e61960fdcfb62f9be3576de9c14 /src/tooltips.less
parentbde43d1fb817c1ebded1db6c0385cdadccbcd203 (diff)
fix tooltip when the element is disabled
Diffstat (limited to 'src/tooltips.less')
-rw-r--r--src/tooltips.less5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tooltips.less b/src/tooltips.less
index 33928ae..8eeebdb 100644
--- a/src/tooltips.less
+++ b/src/tooltips.less
@@ -31,6 +31,11 @@
}
}
+ &[disabled],
+ &.disabled {
+ pointer-events: auto;
+ }
+
&.tooltip-right {
&::after {
bottom: 50%;