Skip to content

Commit

Permalink
prevent svg image user select
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Nov 11, 2024
1 parent b353556 commit c739a63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resen/kaddish/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
y="257.52585" /><text x="55.139347"
y="257.43958" />
</g></svg>

<br><br>
<svg viewBox="-43.49287 -43.984375 296.86249 384.96875">
<image href="media/kaddish2.jpg" x="-43.49287" y="-43.984375" />
<g>
Expand Down
5 changes: 5 additions & 0 deletions resen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,11 @@ a.sponsors {
padding-inline: .3em;
}

svg image {
user-select: none;
-webkit-user-select: none;
}

textarea {
border: none;
box-sizing: border-box;
Expand Down

0 comments on commit c739a63

Please sign in to comment.