diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl
index 8ece768832..2dcd02ad98 100644
--- a/templates/repo/commit_page.tmpl
+++ b/templates/repo/commit_page.tmpl
@@ -200,7 +200,7 @@
{{else}}
{{.locale.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}:
{{end}}
- {{avatar .Verification.SigningUser 28}}
+ {{avatar .Verification.SigningUser 28 "mr-3"}}
{{.Verification.SigningUser.GetDisplayName}}
{{else}}
{{svg "gitea-lock-cog" 16 "mr-3"}}