From 23e10b2e4250de3e3563d7ee6abed77e90263f75 Mon Sep 17 00:00:00 2001 From: Bram Hagens Date: Sat, 20 Dec 2025 05:15:17 +0100 Subject: [PATCH] fix(ui): align due date icon in issue list (#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) Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10489 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: Bram Hagens Co-committed-by: Bram Hagens --- 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}}