mirror of
https://github.com/papercss/papercss
synced 2024-05-07 00:06:45 +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 {
|
||||
&::after {
|
||||
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;
|
||||
top: -6px;
|
||||
transform: translateX(-50%) translateY(-100%);
|
||||
transition: opacity 0.2s ease-out, visibility 0s linear 0.2s;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue