Fix tooltip z index
This commit is contained in:
parent
9a80d059bb
commit
2a5849afcb
1 changed files with 6 additions and 0 deletions
|
|
@ -8,6 +8,12 @@
|
||||||
transition: opacity 0.15s ease;
|
transition: opacity 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* themes that lift buttons on hover give the host a transform, which makes it
|
||||||
|
a stacking context and traps the tooltip's z-index inside it */
|
||||||
|
&[data-tip]:hover {
|
||||||
|
@apply z-tooltip;
|
||||||
|
}
|
||||||
|
|
||||||
&[data-tip]:hover::before {
|
&[data-tip]:hover::before {
|
||||||
@apply opacity-100;
|
@apply opacity-100;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue