Responsively collapse the merge request file tree

The merge request file tree can take up a lot of space, and when using window managers to tile panes quickly it can make diffs unreadable. It would be nice for the file tree to automatically collapse when space becomes too small.

Proposal

If the user has not set a file tree preference and the screen is resized, we should adapt to the screen size.

Links / references

Edited Oct 24, 2018 by James Ramsay (ex-GitLab)
Assignee Loading
Time tracking Loading