You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/avatars
Xinyu Zhou 6117c8b15a
Fix vertical align of committer avatar rendered by email address (#21884) (#21919)
Backport #21884

Committer avatar rendered by `func AvatarByEmail` are not vertical align
as `func Avatar` does.

- Replace literals `ui avatar` and `ui avatar vm` with the constant
`DefaultAvatarClass`

Signed-off-by: Xinyu Zhou <i@sourcehut.net>
2 years ago
..
avatar.go Fix vertical align of committer avatar rendered by email address (#21884) (#21919) 2 years ago
avatar_test.go Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago