Skip to content

Commit

Permalink
Merge pull request #285 from Situphen/dropdown
Browse files Browse the repository at this point in the history
Use visibility:hidden; instead of display:none; for the dropdown menu
  • Loading branch information
Ionaru committed Dec 31, 2020
2 parents 3f90b9f + a070698 commit 65f6613
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/css/easymde.css
Expand Up @@ -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);
Expand All @@ -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{
Expand Down

0 comments on commit 65f6613

Please sign in to comment.