Skip to content

Commit

Permalink
style: add the gap between of result type icons and names
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Sep 16, 2023
1 parent 242f6d2 commit 7a5f939
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/partials/hb/modules/theme-start/result-types.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
{{ with .extra_hidden_input_value }}
data-extra-hidden-input-value="{{ . }}"
{{ end }}>
{{- with index $icons .id }}
<span class="d-none d-md-inline-block">{{ . | safeHTML }}</span>
{{- end }}
{{ .id | printf "search_result_type_%s" | i18n }}
{{- with index $icons .id -}}
<span class="d-none d-md-inline-block me-1">{{ . | safeHTML }}</span>
{{- end -}}
{{- .id | printf "search_result_type_%s" | i18n -}}
</a>
</li>
{{- $firstType = false }}
Expand Down

0 comments on commit 7a5f939

Please sign in to comment.