File tree 2 files changed +3
-26
lines changed
2 files changed +3
-26
lines changed Original file line number Diff line number Diff line change 25
25
</div>
26
26
<div class="diff-detail-actions">
27
27
{{if and .PageIsPullFiles $.SignedUserID (not .IsArchived) (not .DiffNotAvailable)}}
28
- <div class="gt-df gt-ac gt-fc gt-whitespace-nowrap gt-mr-2">
28
+ <div class="not-mobile gt-df gt-ac gt-fc gt-whitespace-nowrap gt-mr-2">
29
29
<label for="viewed-files-summary" id="viewed-files-summary-label" data-text-changed-template="{{ctx.Locale.Tr "repo.pulls.viewed_files_label"}}">
30
30
{{ctx.Locale.Tr "repo.pulls.viewed_files_label" .Diff.NumViewedFiles .Diff.NumFiles}}
31
31
</label>
Original file line number Diff line number Diff line change 1506
1506
@media (max-width : 991.98px ) {
1507
1507
.repository .diff-detail-box {
1508
1508
flex-direction : row;
1509
- height : 77px ; /* this height should match sticky-2nd-row */
1510
1509
}
1511
1510
}
1512
1511
1534
1533
color : var (--color-red );
1535
1534
}
1536
1535
1537
- @media (max-width : 480 px ) {
1536
+ @media (max-width : 991.98 px ) {
1538
1537
.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 ;
1538
+ display : none !important ;
1544
1539
}
1545
1540
}
1546
1541
1735
1730
border : none;
1736
1731
}
1737
1732
1738
- @media (max-width : 991.98px ) {
1739
- .diff-file-box {
1740
- scroll-margin-top : 77px ; /* match .repository .diff-detail-box */
1741
- }
1742
- }
1743
-
1744
1733
/* TODO: this can potentially be made "global" by removing the class prefix */
1745
1734
.diff-file-box .ui .attached .header ,
1746
1735
.diff-file-box .ui .attached .table {
@@ -2826,18 +2815,6 @@ tbody.commit-list {
2826
2815
z-index : 7 ;
2827
2816
}
2828
2817
2829
- @media (max-width : 991.98px ) {
2830
- .ui .attached .header .diff-file-header .sticky-2nd-row {
2831
- top : 77px ; /* match .repository .diff-detail-box */
2832
- }
2833
- }
2834
-
2835
- @media (max-width : 480px ) {
2836
- .ui .attached .header .diff-file-header .sticky-2nd-row {
2837
- position : static;
2838
- }
2839
- }
2840
-
2841
2818
.diff-file-name {
2842
2819
flex : auto;
2843
2820
min-width : 100px ;
You can’t perform that action at this time.
0 commit comments