File tree 6 files changed +36
-18
lines changed
6 files changed +36
-18
lines changed Original file line number Diff line number Diff line change 395
395
npx postcss --use autoprefixer --no-map --replace public/css/*
396
396
397
397
@diff=$$(git diff public/css/*); \
398
- if ([ ! -z " $CI" ] && [ -n "$$diff" ]); then \
398
+ if ([ -n "$ $CI" ] && [ -n "$$diff" ]); then \
399
399
echo "Generated files in public/css have changed, please commit the result:"; \
400
400
echo "$${diff}"; \
401
401
exit 1; \
Original file line number Diff line number Diff line change @@ -803,6 +803,8 @@ footer .ui.left,footer .ui.right{line-height:40px}
803
803
.stats-table .table-cell {display : table-cell}
804
804
.stats-table .table-cell .tiny {height : .5em }
805
805
tbody .commit-list {vertical-align : baseline}
806
+ .commit-list .message-wrapper {overflow : hidden;text-overflow : ellipsis;max-width : calc (100% - 24px );display : inline-block;vertical-align : middle}
807
+ .commit-list .message-wrapper .commit-status-link {display : inline-block;vertical-align : middle}
806
808
.commit-body {white-space : pre-wrap}
807
809
.git-notes .top {text-align : left}
808
810
.git-notes .commit-body {margin : 0 }
Original file line number Diff line number Diff line change @@ -2219,6 +2219,19 @@ tbody.commit-list {
2219
2219
vertical-align : baseline ;
2220
2220
}
2221
2221
2222
+ .commit-list .message-wrapper {
2223
+ overflow : hidden ;
2224
+ text-overflow : ellipsis ;
2225
+ max-width : calc (100% - 24px );
2226
+ display : inline-block ;
2227
+ vertical-align : middle ;
2228
+ }
2229
+
2230
+ .commit-list .message-wrapper .commit-status-link {
2231
+ display : inline-block ;
2232
+ vertical-align : middle ;
2233
+ }
2234
+
2222
2235
.commit-body {
2223
2236
white-space : pre-wrap ;
2224
2237
}
Original file line number Diff line number Diff line change 1
1
{{if eq .State "pending"}}
2
- <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status circle icon yellow"></i></a>
2
+ <a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status circle icon yellow"></i></a>
3
3
{{end}}
4
4
{{if eq .State "success"}}
5
- <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status check icon green"></i></a>
5
+ <a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status check icon green"></i></a>
6
6
{{end}}
7
7
{{if eq .State "error"}}
8
- <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning icon red"></i></a>
8
+ <a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning icon red"></i></a>
9
9
{{end}}
10
10
{{if eq .State "failure"}}
11
- <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status remove icon red"></i></a>
11
+ <a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status remove icon red"></i></a>
12
12
{{end}}
13
13
{{if eq .State "warning"}}
14
- <a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning sign icon yellow"></i></a>
14
+ <a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning sign icon yellow"></i></a>
15
15
{{end}}
Original file line number Diff line number Diff line change 47
47
<td class="author">
48
48
{{if .User}}
49
49
{{if .User.FullName}}
50
- <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.User.FullName}}</a>
50
+ <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.User.FullName}}</a>
51
51
{{else}}
52
- <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.Author.Name}}</a>
52
+ <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.Author.Name}}</a>
53
53
{{end}}
54
54
{{else}}
55
55
<img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/> {{.Author.Name}}
69
69
{{end}}
70
70
</a>
71
71
</td>
72
- <td class="message collapsing">
73
- <span class="has-emoji{{if gt .ParentCount 1}} grey text{{end}}">{{.Summary}}</span>
74
- {{if IsMultilineCommitMessage .Message}}
75
- <button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>
76
- <pre class="commit-body" style="display: none;">{{RenderCommitBody .Message $.RepoLink $.Repository.ComposeMetas}}</pre>
77
- {{end}}
72
+ <td class="message">
73
+ <span class="message-wrapper">
74
+ <span class="commit-summary has-emoji{{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{.Summary}}</span>
75
+ {{if IsMultilineCommitMessage .Message}}
76
+ <button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>
77
+ <pre class="commit-body" style="display: none;">{{RenderCommitBody .Message $.RepoLink $.Repository.ComposeMetas}}</pre>
78
+ {{end}}
79
+ </span>
78
80
{{template "repo/commit_status" .Status}}
79
81
</td>
80
82
<td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td>
Original file line number Diff line number Diff line change 1
- <table id="repo-files-table" class="ui single line table">
1
+ <table id="repo-files-table" class="ui single line table fixed ">
2
2
<thead>
3
3
<tr class="commit-list">
4
4
<th colspan="2">
27
27
</div>
28
28
{{end}}
29
29
</a>
30
- <span class="grey has-emoji">{{.LatestCommit.Summary}}
30
+ {{template "repo/commit_status" .LatestCommitStatus}}
31
+ <span class="grey has-emoji commit-summary" title="{{.LatestCommit.Summary}}">{{.LatestCommit.Summary}}
31
32
{{if IsMultilineCommitMessage .LatestCommit.Message}}
32
33
<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>
33
34
<pre class="commit-body" style="display: none;">{{RenderCommitBody .LatestCommit.Message $.RepoLink $.Repository.ComposeMetas}}</pre>
34
35
{{end}}
35
- {{template "repo/commit_status" .LatestCommitStatus}} </span>
36
+ </span>
36
37
</th>
37
38
<th class="text grey right age">{{if .LatestCommit.Author}}{{TimeSince .LatestCommit.Author.When $.Lang}}{{end}}</th>
38
39
</tr>
82
83
{{end}}
83
84
<td class="message has-emoji">
84
85
<span class="truncate">
85
- <a href="{{$.RepoLink}}/commit/{{$commit.ID}}">{{$commit.Summary}}</a>
86
+ <a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}" >{{$commit.Summary}}</a>
86
87
</span>
87
88
</td>
88
89
<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>
You can’t perform that action at this time.
0 commit comments