mirror of
https://github.com/papercss/papercss
synced 2024-06-10 09:52:37 +02:00
fix: Set visibility of popovers, so they do not appear when hovering over the hidden pseudoelement
This commit is contained in:
parent
05094e2fd9
commit
6cd04adbc7
|
@ -10,7 +10,8 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
&::after {
|
&::after {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: opacity 0.2s ease-out;
|
transition: opacity 0.2s ease-out, visibility 0s linear 0s;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,6 +33,8 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
top: -6px;
|
top: -6px;
|
||||||
transform: translateX(-50%) translateY(-100%);
|
transform: translateX(-50%) translateY(-100%);
|
||||||
|
transition: opacity 0.2s ease-out, visibility 0s linear 0.2s;
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue