💄 Clean up icon styles

This commit is contained in:
James Panther
2021-11-04 18:56:42 +11:00
parent a35b59a192
commit fd59564b81
2 changed files with 10 additions and 8 deletions

View File

@@ -28,10 +28,12 @@
href="{{ $href }}"
target="_blank"
rel="me noopener noreferrer"
><div class="">
<span class="mr-1">{{ partial "icon.html" $icon }}</span>{{ $text | emojify }}
</div></a
>
{{- with $icon -}}
<span class="mr-1">{{ partial "icon.html" . }}</span>
{{- end -}}
{{ $text | emojify }}
</a>
{{ end }}
{{ end }}
</div>