From fed7d6486199ba4d513c3e4ae592b8ef75337798 Mon Sep 17 00:00:00 2001 From: forgejo-backport-action Date: Sat, 20 Dec 2025 06:05:54 +0100 Subject: [PATCH] [v14.0/forgejo] fix(ui): align due date icon in issue list (#10494) **Backport:** https://codeberg.org/forgejo/forgejo/pulls/10489 Flattened nested `` tags for the calender icon in the issue list, to fix the vertical alignment Before: ![image](/attachments/f5049acb-41dc-438e-9256-ef30542e168d) After: ![image](/attachments/c4d8bc64-0474-4a3e-9061-9e2bca6abff9) ![image](/attachments/0b2c4d9c-7d34-4627-be55-2099ed32dd19) Co-authored-by: Bram Hagens Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10494 Co-authored-by: forgejo-backport-action Co-committed-by: forgejo-backport-action --- templates/shared/issuelist.tmpl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index 256b5e3e07..ff7aa9c0a4 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -108,11 +108,9 @@ {{end}} {{if ne .DeadlineUnix 0}} - - - {{svg "octicon-calendar" 14}} - {{DateUtils.AbsoluteShort .DeadlineUnix}} - + + {{svg "octicon-calendar" 14}} + {{DateUtils.AbsoluteShort .DeadlineUnix}} {{end}} {{if .IsPull}}