From dfea75371cae869e2e7805c12300e42c3218b67a Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 18 Jun 2025 04:14:11 +0200 Subject: [PATCH] Improve alignment of commit status icon on commit page (#34750) Before, icon vertically misaligned: Screenshot 2025-06-17 at 18 14 26 After, icon correctly vertically centered: Screenshot 2025-06-17 at 18 14 40 I think it's fine to single out this one case and not alter `flex-text-inline` because that class seems to work well in other places. --- templates/repo/commit_page.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index 7abd377108..fb0a63eff7 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -5,7 +5,7 @@
-

{{ctx.RenderUtils.RenderCommitMessage .Commit.Message $.Repository}}{{template "repo/commit_statuses" dict "Status" .CommitStatus "Statuses" .CommitStatuses}}

+

{{ctx.RenderUtils.RenderCommitMessage .Commit.Message $.Repository}}{{template "repo/commit_statuses" dict "Status" .CommitStatus "Statuses" .CommitStatuses "AdditionalClasses" "tw-inline"}}

{{if not $.PageIsWiki}}