Fix snippets overflowing bug
What does this MR do and why?
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Go to snippets and create a snippet with a long line. Longer than the screen size.
- Select one of the lines to get it highlighted
- Make sure that the line numbers are still visible
- Make sure that fallback files still work as expected. Also when Blame button is clicked