chore: improve cards compatibility with steps (#197)

This commit is contained in:
Xin
2023-11-10 18:45:42 -05:00
committed by GitHub
parent c0a1bc32dd
commit 21b0acdec5
2 changed files with 2 additions and 1 deletions

View File

@ -79,3 +79,4 @@
<div class="line-clamp-3 text-sm font-normal text-gray-500 dark:text-gray-400 px-4 mb-4 mt-2">{{- $subtitle | markdownify -}}</div>
{{- end -}}
</a>
{{- /* Strip trailing newline. */ -}}

View File

@ -1,5 +1,5 @@
{{ $rows := .Get "rows" | default "3" }}
<div class="hextra-cards mt-4 gap-4 grid not-prose" style="--rows: {{ $rows }};">
{{ .Inner }}
{{- .Inner -}}
</div>