Don't put margin around each keyword

This commit is contained in:
Alex Haslam 2023-12-20 15:01:03 +00:00
parent 2791cc7cb9
commit 3e81805971
No known key found for this signature in database
2 changed files with 8 additions and 10 deletions

View file

@ -1,12 +1,10 @@
{{ $icon := .Get "icon"}}
<span style="margin-top: 0.5rem" class="flex mr-2">
<span
class="rounded-full bg-primary-500 dark:bg-primary-300 text-neutral-50 dark:text-neutral-700 px-1.5 py-[1px] text-xs font-normal"
>
<span class="flex items-center">
{{if $icon}}
<span class="mr-1">{{ partial "icon" $icon }}</span>
{{ end }} {{- .Inner | markdownify -}}
</span>
<span
class="rounded-full bg-primary-500 dark:bg-primary-300 text-neutral-50 dark:text-neutral-700 px-1.5 py-[1px] text-xs font-normal"
>
<span class="flex items-center">
{{if $icon}}
<span class="mr-1">{{ partial "icon" $icon }}</span>
{{ end }} {{- .Inner | markdownify -}}
</span>
</span>

View file

@ -1 +1 @@
<div class="flex flex-row flex-wrap items-center">{{- .Inner -}}</div>
<div class="flex flex-row flex-wrap items-center space-x-2">{{- .Inner -}}</div>