Dynamically line wrap commit messages in the Gitlab UI
### Problem to solve When users write commit messages with long lines and do not manually break them at around 80 characters, GitLab will not wrap these lines in the commit view. Instead, it will insert horizontal scrollbars, resulting in a poor user experience. I have created a [small example](https://gitlab.com/chschmir/scrollbars-for-long-lines-in-commit-messages/-/commit/cf45cb034a48cff142aaecd1fb689a126a014ab2) to demonstrate the issue: ![scrollbar](/uploads/ee4a35f48fe0840728fc5e337ca5794d/scrollbar.png) ### Proposal Long lines in commit messages should be dynamically wrapped at the boundary of the field in the user interface where they are displayed. This is also what other tools such as GitHub do (see [here for an example](https://github.com/svunit/svunit/commit/033f7e92c1226c6eef5dc7cdde30c58fb741d408)). When the browser window is resized, the line wraps automatically adapt the the new size of the field where the commit message is displayed. ![wrap_github](/uploads/5097700d0dd6c549927cab73e524cc5f/wrap_github.png) ### Intended users Anyone reading the commit history in the Gitlab UI. <!-- Label reminders Make sure to add the appropriate labels for the product stage and/or group (e.g ~"devops::plan") if known and add a comment tagging the appropriate Product Manager. Use the following resources to find the appropriate labels: - Use only one tier label choosing the lowest tier this is intended for - https://gitlab.com/gitlab-org/gitlab/-/labels - https://about.gitlab.com/handbook/product/categories/features/ Examples: /label ~group:: ~section:: ~Category: /label ~"GitLab Free" ~"GitLab Premium" ~"GitLab Ultimate" --> @gitlab-bot label ~"UX" ~"type::feature"
issue