From c35d7b3a9e4c1314a6ecb979c6183397b7120faa Mon Sep 17 00:00:00 2001 From: Antonin P <57292954+AntoninPvr@users.noreply.github.com> Date: Sat, 17 Jan 2026 13:14:55 +0100 Subject: [PATCH] =?UTF-8?q?fix(card):=20ensure=20subtitle=20stays=20at=20b?= =?UTF-8?q?ottom=20by=20wrapping=20title/subtitle=E2=80=A6=20(#877)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(card): ensure subtitle stays at bottom by wrapping title/subtitle in container * Update layouts/_partials/shortcodes/card.html Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Xin <5097752+imfing@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- layouts/_partials/shortcodes/card.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/layouts/_partials/shortcodes/card.html b/layouts/_partials/shortcodes/card.html index efebfd8..514d522 100644 --- a/layouts/_partials/shortcodes/card.html +++ b/layouts/_partials/shortcodes/card.html @@ -46,14 +46,15 @@ {{- $padding = "hx:pt-4 hx:px-4" -}} {{- end -}} - - - {{- with $icon }}{{ partial "utils/icon.html" (dict "name" $icon) -}}{{- end -}} - {{- $title -}} - - {{- with $subtitle -}} -
{{- $subtitle | markdownify -}}
- {{- end -}} +
+ + {{- with $icon }}{{ partial "utils/icon.html" (dict "name" $icon) -}}{{- end -}} + {{- $title -}} + + {{- with $subtitle -}} +
{{- $subtitle | markdownify -}}
+ {{- end -}} +
{{- if $tag }} {{- partial "shortcodes/badge.html" (dict