Repository navigation
Commit 3c8cced
fix(web): keep the diff panel head ref visible when the panel is narrow
In a narrow Diff panel the base-ref button never shrank (Button carries
shrink-0), so the whole shortfall in the branch-scope row fell on the head
ref group. It reached zero width, the head ref disappeared and the arrow was
drawn over the base ref. The head ref group now keeps 3rem while the row has
room and clips its arrow, and the base-ref button shrinks down to 2.25rem, so
both refs truncate and the base-ref menu stays reachable in the narrowest
rows.
Refs #19048
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 98a6246 commit 3c8cced
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
| 795 | + | |
| 796 | + | |
795 | 797 | | |
796 | | - | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
797 | 803 | | |
798 | 804 | | |
799 | 805 | | |
| |||
817 | 823 | | |
818 | 824 | | |
819 | 825 | | |
820 | | - | |
| 826 | + | |
821 | 827 | | |
822 | 828 | | |
823 | 829 | | |
| |||
0 commit comments