File Tree Browser Ignores Layout Width User Preference
### Summary The new file tree browser ignores the layout width user preference, always forcing full width. This makes auto-scroll (middle mouse click + drag to pan/scroll) difficult to use because: 1. Middle mouse clicking on the file browser scrolls the file browser pane (this is fine). 2. Middle mouse clicking on the file preview only allows horizontal scroll if x-overflow is triggered (cannot do vertical scroll). 3. There is very little whitespace available to middle mouse click for guaranteed full page vertical scroll (only the vertical margin flanking the file browser and file preview panes). ### Steps to reproduce 1. Set _User Settings_ → _Preferences_ → _Behavior_ → _Layout width_ to _Fixed_. 2. View a repository's files. - Preferably a long plain text file that triggers x-overflow. Auto-scroll on the preview works fine with rendered files like rendered Markdown or files that don't trigger x-overflow. Note that auto-scroll isn't supported by some browsers on all platforms (e.g. Firefox enables it on all platforms by default, Chromium-based browsers only enable it on Windows by default). ### Example Project <!--If possible, please create an example project here on GitLab.com that exhibits the problematic behavior, and link to it here in the bug report. If you are using an older version of GitLab, this will also determine whether the bug is fixed in a more recent version.--> https://gitlab.com/gitlab-org/gitlab https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab-ci.yml?ref_type=heads GitLab Enterprise Edition 18.8.0-pre. ### What is the current _bug_ behavior? The new file tree browser forces a full width. ### What is the expected _correct_ behavior? The new file tree browser should support a fixed layout width. See design recommendation https://gitlab.com/gitlab-org/gitlab/-/issues/585779#note_3006602487.
issue