fix: tooltip

This commit is contained in:
Lucas Larroche 2023-03-25 19:41:13 +07:00
parent f611e4e5d0
commit ecf6c0a401
10 changed files with 23 additions and 17 deletions

View file

@ -116,8 +116,8 @@
@if $enable-transitions {
// Animations, excluding touch devices
@media (hover: hover) and (pointer: fine) {
&[data-placement="bottom"]:focus,
&[data-placement="bottom"]:hover &:focus,
// Default (top)
&:focus,
&:hover {
&::before,
&::after {
@ -130,6 +130,7 @@
}
}
// Bottom
&[data-placement="bottom"] {
&:focus,
&:hover {
@ -145,6 +146,7 @@
}
}
// Left
&[data-placement="left"] {
&:focus,
&:hover {
@ -160,6 +162,7 @@
}
}
// Right
&[data-placement="right"] {
&:focus,
&:hover {