File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 34
34
</div>
35
35
<div class="diff-detail-actions gt-df gt-ac gt-gap-2 gt-fw">
36
36
{{if and .PageIsPullFiles $.SignedUserID (not .IsArchived)}}
37
- <progress id="viewed-files-summary" value="{{.Diff.NumViewedFiles}}" max="{{.Diff.NumFiles}}"></progress>
38
- <label for="viewed-files-summary" id="viewed-files-summary-label" class="gt-f1 gt-whitespace-nowrap not-mobile" data-text-changed-template="{{.locale.Tr "repo.pulls.viewed_files_label"}}">
39
- {{.locale.Tr "repo.pulls.viewed_files_label" .Diff.NumViewedFiles .Diff.NumFiles}}
40
- </label>
37
+ <div class="gt-df gt-ac gt-fc gt-whitespace-nowrap gt-mr-2">
38
+ <label for="viewed-files-summary" id="viewed-files-summary-label" data-text-changed-template="{{.locale.Tr "repo.pulls.viewed_files_label"}}">
39
+ {{.locale.Tr "repo.pulls.viewed_files_label" .Diff.NumViewedFiles .Diff.NumFiles}}
40
+ </label>
41
+ <progress id="viewed-files-summary" value="{{.Diff.NumViewedFiles}}" max="{{.Diff.NumFiles}}"></progress>
42
+ </div>
41
43
{{end}}
42
44
{{template "repo/diff/whitespace_dropdown" .}}
43
45
{{template "repo/diff/options_dropdown" .}}
Original file line number Diff line number Diff line change 70
70
{{$.locale.Tr "repo.pulls.title_desc" .NumCommits $headHref $baseHref | Safe}}
71
71
</span>
72
72
{{end}}
73
- <span id="pull-desc-edit" class="gt-hidden">
73
+ <span id="pull-desc-edit" class="gt-hidden flex-text-block ">
74
74
<div class="ui floating filter dropdown">
75
- <div class="ui basic small button">
75
+ <div class="ui basic small button gt-mr-0 ">
76
76
<span class="text">{{.locale.Tr "repo.pulls.compare_compare"}}: {{$.HeadTarget}}</span>
77
77
</div>
78
78
</div>
Original file line number Diff line number Diff line change 1559
1559
.repository .diff-detail-box {
1560
1560
padding : 7px 0 ;
1561
1561
background : var (--color-body );
1562
- line-height : 30px ;
1563
1562
}
1564
1563
1565
1564
@media (max-width : 991.98px ) {
Original file line number Diff line number Diff line change 287
287
}
288
288
289
289
# viewed-files-summary {
290
- width : 72 px ;
291
- height : 10 px ;
290
+ width : 100 % ;
291
+ height : 8 px ;
292
292
}
You can’t perform that action at this time.
0 commit comments