Use full-width for both inline and side-by-side diffs in compare
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 |
---|---|
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