🛠 fix: icon padding in menus

This commit is contained in:
Tomy Hsieh
2023-06-01 19:09:31 +08:00
parent ebfe161c9d
commit b67f0a7c73
5 changed files with 46 additions and 46 deletions
+4 -4
View File
@@ -16,9 +16,9 @@
<span
class="group-dark:hover:text-primary-400 transition-colors group-hover:text-primary-600"
>
{{ partial "icon.html" . }}
{{- partial "icon.html" . -}}
</span>
{{ end }}{{ if .Params.showName | default true }}
{{- end -}}{{- if .Params.showName | default true -}}
<span
class="decoration-primary-500 group-hover:underline group-hover:decoration-2 group-hover:underline-offset-2"
>{{ .Name | markdownify | emojify }}</span
@@ -55,9 +55,9 @@
<span
class="group-dark:hover:text-primary-400 transition-colors group-hover:text-primary-600"
>
{{ partial "icon.html" . }}
{{- partial "icon.html" . -}}
</span>
{{ end }}{{ if .Params.showName | default true }}
{{- end -}}{{- if .Params.showName | default true -}}
<span
class="decoration-primary-500 group-hover:underline group-hover:decoration-2 group-hover:underline-offset-2"
>{{ .Name | markdownify | emojify }}</span