File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
1
{{if .Statuses}}
2
2
{{if and (eq (len .Statuses) 1) .Status.TargetURL}}
3
- <a class="tw-align-middle {{.AdditionalClasses}} tw-no-underline " data-tippy="commit-statuses" href="{{.Status.TargetURL}}">
3
+ <a class="flex-text-inline tw-no-underline {{.AdditionalClasses}}" data-tippy="commit-statuses" href="{{.Status.TargetURL}}">
4
4
{{template "repo/commit_status" .Status}}
5
5
</a>
6
6
{{else}}
7
- <span class="tw-align-middle {{.AdditionalClasses}}" data-tippy="commit-statuses" tabindex="0">
7
+ <span class="flex-text-inline {{.AdditionalClasses}}" data-tippy="commit-statuses" tabindex="0">
8
8
{{template "repo/commit_status" .Status}}
9
9
</span>
10
10
{{end}}
Original file line number Diff line number Diff line change 3
3
…
4
4
{{else}}
5
5
{{if .LatestCommitUser}}
6
- {{ctx.AvatarUtils.Avatar .LatestCommitUser 24 "tw-mr-1" }}
6
+ {{ctx.AvatarUtils.Avatar .LatestCommitUser 24}}
7
7
{{if and .LatestCommitUser.FullName DefaultShowFullName}}
8
8
<a class="muted author-wrapper" title="{{.LatestCommitUser.FullName}}" href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
9
9
{{else}}
10
10
<a class="muted author-wrapper" title="{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}" href="{{.LatestCommitUser.HomeLink}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a>
11
11
{{end}}
12
12
{{else}}
13
13
{{if .LatestCommit.Author}}
14
- {{ctx.AvatarUtils.AvatarByEmail .LatestCommit.Author.Email .LatestCommit.Author.Name 24 "tw-mr-1" }}
14
+ {{ctx.AvatarUtils.AvatarByEmail .LatestCommit.Author.Email .LatestCommit.Author.Name 24}}
15
15
<span class="author-wrapper" title="{{.LatestCommit.Author.Name}}"><strong>{{.LatestCommit.Author.Name}}</strong></span>
16
16
{{end}}
17
17
{{end}}
Original file line number Diff line number Diff line change @@ -123,6 +123,12 @@ td .commit-summary {
123
123
gap : 0.25em ;
124
124
}
125
125
126
+ @media (max-width : 767.98px ) {
127
+ .latest-commit .commit-id-short {
128
+ display : none;
129
+ }
130
+ }
131
+
126
132
.repo-path {
127
133
display : flex;
128
134
overflow-wrap : anywhere;
@@ -1670,6 +1676,10 @@ tbody.commit-list {
1670
1676
white-space : nowrap;
1671
1677
}
1672
1678
1679
+ .latest-commit .message-wrapper {
1680
+ max-width : calc (100% - 2.5rem );
1681
+ }
1682
+
1673
1683
/* in the commit list, messages can wrap so we can use inline */
1674
1684
.commit-list .message-wrapper {
1675
1685
display : inline;
You can’t perform that action at this time.
0 commit comments