From 7ee96b7faabb121c76fc8d664eca39abcdca3bf4 Mon Sep 17 00:00:00 2001 From: Josway Date: Fri, 23 Oct 2026 05:17:14 +0800 Subject: [PATCH] fix(ui): commit hashes in the activity feed are misaligned (#39883) Fixes #38646 ### The problem Each commit line of a push in the activity feed starts with the avatar stack of its co-authors. The width of that stack grows with the number of co-authors, so the hash of every commit started at a different horizontal offset and the column looked ragged. --------- Signed-off-by: Josway Co-authored-by: silverwind --- templates/user/dashboard/feeds.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index d187b0450a9..67b419d9875 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -92,10 +92,10 @@ {{$commitLink := printf "%s/commit/%s" $repoLink $pushCommit.Sha1}}
{{ctx.RenderUtils.AvatarStackPushCommit $pushCommit}} - {{ShortSha $pushCommit.Sha1}} - + {{ctx.RenderUtils.RenderCommitMessage $pushCommit.Message $repo}} + {{ShortSha $pushCommit.Sha1}}
{{end}}