Replace deprecated property on GlFormSelect component
What does this MR do and why?
Sets a width on the Versions selector on the search result page.
The size
property we used for this previously was removed in GitLab UI v71: https://gitlab.com/gitlab-org/gitlab-ui/-/releases/v71.0.0
Regression introduced here: !4422 (merged)
Screenshots, screen recordings, or links to review app
Before | After |
---|---|
Review app: https://gps-gl-select-width.docs.gitlab-review.app/search/?q=computers&page=1
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md. -
Configure for Google search: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/search.md?ref_type=heads#local-build-with-google-programmable-search -
View the search results page. There should be a little more space between the Version dropdown and the result list.
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.
Edited by Sarah German