feat(SVG): make icons non draggable and selectable

This commit is contained in:
2022-09-27 18:35:03 +02:00
parent 3b21dce8cd
commit 7139e0e4c4
4 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
{{ range . -}}
<a href="{{ .url | safeURL }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
<a href="{{ .url | safeURL }}" draggable="false" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
{{- end -}}