Fix blob edit controls layout and cut off borders
What does this MR do and why?
- Automatic migration with
scripts/frontend/migrate_to_container_queries.mjs - Adjusts the layout of editor controls on narrow and mid-sized viewports, both with and without panel feature flags. This corrects a wonky layout that's already present.
- Makes sure
.file-titledoesn't hide rounded border
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/570037+
- https://docs.gitlab.com/development/fe_guide/style/scss/#migrating-from-media-queries
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
- Go to a project and open a file. Best is a markdown file, as it will have all the controls.
- Click Edit button, then select Edit single file from the dropdown. You'll be redirected to the editor.
- Toggle Duo panel, change browser's width and verify changes.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #570037
Edited by Paulina Sedlak-Jakubowska











