Skip to content

Use full-width for both inline and side-by-side diffs in compare

Annabel Dunstone Gray requested to merge 22981-compare-branches-diffs into master

What does this MR do and why?

Show diffs in Compare branches view full-width (both inline and side-by-side)

Why?

  • Matches what we do for MR diffs; more room to read the code without wrapping

Screenshots or screen recordings

Before After
Screenshot_2024-05-08_at_2.24.42_PM Screenshot_2024-05-08_at_2.19.47_PM

How to set up and validate locally

  • Set layout width preference to fixed (default)
  • Go to Code > Compare revisions
  • Compare two branches in both side-by-side and inline mode. Content and commits should be in usual container, diffs should be full-width
  • Set layout width preference to 'fluid`
  • All content should be full-width

Links

Merge request reports