File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 13
13
{{$commitRepoLink := $.RepoLink}}{{if $.CommitRepoLink}}{{$commitRepoLink = $.CommitRepoLink}}{{end}}
14
14
{{range .Commits}}
15
15
<tr>
16
- <td class="author">
16
+ <td class="author tw-flex ">
17
17
{{$userName := .Author.Name}}
18
18
{{if .User}}
19
19
{{if .User.FullName}}
20
20
{{$userName = .User.FullName}}
21
21
{{end}}
22
- {{ctx.AvatarUtils.Avatar .User 28 "tw-mr-1 "}}<a href="{{.User.HomeLink}}">{{$userName}}</a>
22
+ {{ctx.AvatarUtils.Avatar .User 28 "tw-mr-2 "}}<a class="muted author-wrapper" href="{{.User.HomeLink}}">{{$userName}}</a>
23
23
{{else}}
24
- {{ctx.AvatarUtils.AvatarByEmail .Author.Email .Author.Name 28 "tw-mr-1 "}}
25
- {{$userName}}
24
+ {{ctx.AvatarUtils.AvatarByEmail .Author.Email .Author.Name 28 "tw-mr-2 "}}
25
+ <span class="author-wrapper"> {{$userName}}</span>
26
26
{{end}}
27
27
</td>
28
28
<td class="sha">
Original file line number Diff line number Diff line change @@ -2438,6 +2438,7 @@ tbody.commit-list {
2438
2438
2439
2439
.author-wrapper {
2440
2440
max-width : 180px ;
2441
+ align-self : center;
2441
2442
}
2442
2443
2443
2444
/* in the commit list, messages can wrap so we can use inline */
You can’t perform that action at this time.
0 commit comments