File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change 17
17
diffTreeBtn.setAttribute('data-tooltip-content', diffTreeBtn.getAttribute(diffTreeVisible ? 'data-hide-text' : 'data-show-text'));
18
18
</script>
19
19
{{end}}
20
- {{if not .DiffNotAvailable}}
21
- <div class="diff-detail-stats gt-df gt-ac gt-fw">
22
- {{svg "octicon-diff" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}}
23
- </div>
24
- {{end}}
25
20
</div>
26
21
<div class="diff-detail-actions">
27
22
{{if and .PageIsPullFiles $.SignedUserID (not .IsArchived) (not .DiffNotAvailable)}}
Original file line number Diff line number Diff line change 1515
1515
flex-wrap : wrap;
1516
1516
}
1517
1517
}
1518
- .repository .diff-detail-box .diff-detail-stats strong {
1519
- margin-left : 0.25rem ;
1520
- margin-right : 0.25rem ;
1521
- }
1522
-
1523
- /* Because the translations contain the <strong> we need to style with nth-of-type */
1524
-
1525
- .repository .diff-detail-box .diff-detail-stats strong : nth-of-type (1 ) {
1526
- color : var (--color-yellow );
1527
- }
1528
-
1529
- .repository .diff-detail-box .diff-detail-stats strong : nth-of-type (2 ) {
1530
- color : var (--color-green );
1531
- }
1532
-
1533
- .repository .diff-detail-box .diff-detail-stats strong : nth-of-type (3 ) {
1534
- color : var (--color-red );
1535
- }
1536
-
1537
- @media (max-width : 480px ) {
1538
- .repository .diff-detail-box .diff-detail-stats {
1539
- font-size : 0 ;
1540
- line-height : 1.6rem ;
1541
- }
1542
- .repository .diff-detail-box .diff-detail-stats strong {
1543
- font-size : 1rem ;
1544
- }
1545
- }
1546
1518
1547
1519
.diff-detail-actions {
1548
1520
display : flex;
You can’t perform that action at this time.
0 commit comments