Commit e5b7a9e
Improve PR diff view on mobile (go-gitea#27883)
1. Show diff stats only on large screens
these are already shown in tabs, so no need for this duplicate
information on small screens


2. Hide viewed files information on small screens
Github does the same and this gives us more free space on small screens


3. Review bar now doesn't wrap so we don't need the 77px even on very
small screens
(the sticky headers are still working)
1 parent 674788b commit e5b7a9e
2 files changed
+3
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | | - | |
1510 | 1509 | | |
1511 | 1510 | | |
1512 | 1511 | | |
| |||
1534 | 1533 | | |
1535 | 1534 | | |
1536 | 1535 | | |
1537 | | - | |
| 1536 | + | |
1538 | 1537 | | |
1539 | | - | |
1540 | | - | |
1541 | | - | |
1542 | | - | |
1543 | | - | |
| 1538 | + | |
1544 | 1539 | | |
1545 | 1540 | | |
1546 | 1541 | | |
| |||
1735 | 1730 | | |
1736 | 1731 | | |
1737 | 1732 | | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | 1733 | | |
1745 | 1734 | | |
1746 | 1735 | | |
| |||
2826 | 2815 | | |
2827 | 2816 | | |
2828 | 2817 | | |
2829 | | - | |
2830 | | - | |
2831 | | - | |
2832 | | - | |
2833 | | - | |
2834 | | - | |
2835 | | - | |
2836 | | - | |
2837 | | - | |
2838 | | - | |
2839 | | - | |
2840 | | - | |
2841 | 2818 | | |
2842 | 2819 | | |
2843 | 2820 | | |
| |||
0 commit comments