Skip to content

Prevent label dropdown from overflowing

Nick Leonard requested to merge nl-labels-dropdown-fix into master

What does this MR do and why?

Prevents the sidebar labels button from overflowing the available space.

While the outcome is the same, this impacts all issuable sidebar use cases (issues, epics, MRs)

Screenshots or screen recordings

Before After
Screen_Shot_2022-10-26_at_11.11.26_AM Screen_Shot_2022-10-26_at_11.07.43_AM

How to set up and validate locally

  1. Create a long label (e.g. Category:Subscription Management)
  2. Apply the label alongside other labels to an Issue, MR, or Epic, ensuring the long label is alphabetically first so it shows up in the button text

MR acceptance checklist

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

Closes #379031 (closed)

Edited by Nick Leonard

Merge request reports