mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix default avatar image size in PR diff page (#28971)
Fix #28941 ps: didn't test. The repo is too big to migrate.
This commit is contained in:
@@ -59,7 +59,7 @@ func (au *AvatarUtils) Avatar(item any, others ...any) template.HTML {
|
||||
}
|
||||
}
|
||||
|
||||
return ""
|
||||
return AvatarHTML(avatars.DefaultAvatarLink(), size, class, "")
|
||||
}
|
||||
|
||||
// AvatarByAction renders user avatars from action. args: action, size (int), class (string)
|
||||
|
Reference in New Issue
Block a user