Search result with long line changes displayed as horizontal scrolling
Summary
When doing a global search, if one changed line is very long, that one line becomes scrollable
Steps to reproduce
What is the current bug behavior?
Scrolling happens on long changed lines
What is the expected correct behavior?
long lines are displayed as multiple lines (similar to commit display page)
Relevant logs and/or screenshots
See above
Output of checks
This bug happens on GitLab.com
Proposal
This should work as it does for diffs, where if a line doesn't fit within the blob container it wraps to a new line (with blank line number). This should also function responsively, if the page width decreases/increases lines are adjusted as needed (see screenshot and gif below)
This can be done by setting some bounds in the display details for the Blob result view.
Edited by John McGuire

