Skip to content

Fixed file template dropdown for the "New File" editor for smaller/zoomed screens

What does this MR do?

Fixes the dropdown issue on zoomed/smaller screens

Are there points in the code the reviewer needs to double check?

Until what point do we consider not supporting a certain screen size / zoom level

Why was this MR needed?

To fix the dropdown position when zooming in on the screen

Screenshots (if relevant)

Zoom levels

100% Zoom 100_

175% Zoom 175_

200% Zoom 200_

300% Zoom 300_

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #23962 (closed)

Affected pages for the modified css-classes

./app/assets/stylesheets/pages/editor.scss: .gitignore-selector, ./app/assets/stylesheets/pages/editor.scss: .license-selector, ./app/assets/stylesheets/pages/editor.scss: .gitlab-ci-yml-selector { ./app/views/projects/blob/_editor.html.haml: .gitlab-ci-yml-selector.js-gitlab-ci-yml-selector-wrap.hidden ./app/assets/stylesheets/pages/editor.scss: .new-file-name { ./app/views/projects/blob/_editor.html.haml: required: true, class: 'form-control new-file-name'

Merge request reports

Loading