loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Vertical align avatar at middle (#20302)

- Currently the avatar in the navbar is being vertically aligned to the
top, this caused that the icon besides it isn't being at the middle of
the avatar. Use the `vm` helper class to force the `vertical-align` to
be `middle`.
- Resolves #20292

authored by

Gusted and committed by
GitHub
2399b590 e24b0fc7

+1 -1
+1 -1
modules/templates/helper.go
··· 628 628 629 629 // Avatar renders user avatars. args: user, size (int), class (string) 630 630 func Avatar(item interface{}, others ...interface{}) template.HTML { 631 - size, class := parseOthers(avatars.DefaultAvatarPixelSize, "ui avatar image", others...) 631 + size, class := parseOthers(avatars.DefaultAvatarPixelSize, "ui avatar image vm", others...) 632 632 633 633 switch t := item.(type) { 634 634 case *user_model.User: