forgejo/modules/templates
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>
2022-11-23 22:00:43 -06:00
..
vars Refactor legacy unknwon/com package, improve golangci lint (#19284) 2022-04-01 16:47:50 +08:00
base.go Add disable download source configuration (#20548) (#20579) 2022-08-12 23:53:10 +08:00
dynamic.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
helper.go Fix vertical align of committer avatar rendered by email address (#21884) (#21919) 2022-11-23 22:00:43 -06:00
helper_test.go Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
static.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
templates_bindata.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00