2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-14 21:44:28 -06:00

Use visibility:hidden; instead of display:none; for the dropdown menu

This commit is contained in:
Situphen 2020-12-30 21:59:45 +01:00
parent 1386fb0319
commit a070698b34

View File

@ -360,7 +360,8 @@
}
.easymde-dropdown-content {
display: none;
display: block;
visibility: hidden;
position: absolute;
background-color: #f9f9f9;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
@ -371,7 +372,7 @@
.easymde-dropdown:active .easymde-dropdown-content,
.easymde-dropdown:focus .easymde-dropdown-content {
display: block;
visibility: visible;
}
span[data-img-src]::after{