Update protected branch selector to fit content

What does this MR do and why?

Describe in detail what your merge request does and why.

Update protected branch selector to fit content

  • add a min-width CSS to ensure it always fits the content

Changelog: changed

EE: true

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Page Before After Video
Policy policy_-_b policy_-_a protected_branches_dropdown
Status - status_check_-_a -
Rule - rule_-_a -

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Navigate to a project => Security & Compliance => Policies => New policy => Scan Result Policy => Branch Selector
  3. Navigate to a project => Settings => Merge Requests => Add status check => Branch Selector
  4. Navigate to a project => Settings => Merge Requests => Add approval rule => Branch Selector

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading