2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-06-27 21:21:02 -06:00

Merge pull request #285 from Situphen/dropdown

Use visibility:hidden; instead of display:none; for the dropdown menu
This commit is contained in:
Jeroen Akkerman 2020-12-31 17:27:40 +01:00 committed by GitHub
commit 65f66138c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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{