diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl index aa7ca88931..bae9924141 100644 --- a/templates/repo/commits_list.tmpl +++ b/templates/repo/commits_list.tmpl @@ -13,16 +13,16 @@ {{$commitRepoLink := $.RepoLink}}{{if $.CommitRepoLink}}{{$commitRepoLink = $.CommitRepoLink}}{{end}} {{range .Commits}} - + {{$userName := .Author.Name}} {{if .User}} {{if .User.FullName}} {{$userName = .User.FullName}} {{end}} - {{ctx.AvatarUtils.Avatar .User 28 "tw-mr-1"}}{{$userName}} + {{ctx.AvatarUtils.Avatar .User 28 "tw-mr-2"}}{{$userName}} {{else}} - {{ctx.AvatarUtils.AvatarByEmail .Author.Email .Author.Name 28 "tw-mr-1"}} - {{$userName}} + {{ctx.AvatarUtils.AvatarByEmail .Author.Email .Author.Name 28 "tw-mr-2"}} + {{$userName}} {{end}} diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 2014dfc370..18f28dc4a6 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -2438,6 +2438,7 @@ tbody.commit-list { .author-wrapper { max-width: 180px; + align-self: center; } /* in the commit list, messages can wrap so we can use inline */