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 1717 diffTreeBtn.setAttribute('data-tooltip-content', diffTreeBtn.getAttribute(diffTreeVisible ? 'data-hide-text' : 'data-show-text'));
1818 </script>
1919 {{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}}
2520 </div>
2621 <div class="diff-detail-actions">
2722 {{if and .PageIsPullFiles $.SignedUserID (not .IsArchived) (not .DiffNotAvailable)}}
Original file line number Diff line number Diff line change 15151515 flex-wrap : wrap;
15161516 }
15171517}
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- }
15461518
15471519.diff-detail-actions {
15481520 display : flex;
You can’t perform that action at this time.
0 commit comments