diff --git a/templates/repo/shabox_badge.tmpl b/templates/repo/shabox_badge.tmpl
index 4fbb15e933..a10334bdd0 100644
--- a/templates/repo/shabox_badge.tmpl
+++ b/templates/repo/shabox_badge.tmpl
@@ -3,7 +3,7 @@
{{if ne .verification.SigningUser.ID 0}}
{{svg "gitea-lock"}}
- {{avatar .verification.SigningUser "signature"}}
+ {{avatar .verification.SigningUser 28 "signature"}}
{{else}}
{{svg "gitea-lock-cog"}}
{{avatarByEmail .verification.SigningEmail "" 28 "signature"}}