Merge pull request #2397 from joeybones/fix-handler

fix: prevent svg from being the event target of oncontextmenu
This commit is contained in:
Francisco Hodge 2024-11-12 11:10:27 -05:00 committed by GitHub
commit 6792f78e9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,9 @@
border-radius: 5px;
}
.hg-theme-default .hg-button span {
.hg-theme-default .hg-button span,
.hg-theme-default .hg-button span svg
{
pointer-events: none;
}