mirror of
https://github.com/codex-team/editor.js
synced 2024-05-10 10:26:46 +02:00
Replace visibility property with display for hiding popover
This commit is contained in:
parent
c29d244194
commit
af521cf6f2
|
@ -1,9 +1,8 @@
|
|||
.ce-popover {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
will-change: opacity, transform;
|
||||
display: flex;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
padding: 4px;
|
||||
min-width: 200px;
|
||||
|
@ -19,7 +18,7 @@
|
|||
|
||||
&--opened {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
display: flex;
|
||||
animation: panelShowing 100ms ease;
|
||||
|
||||
@media (--mobile) {
|
||||
|
|
Loading…
Reference in a new issue