Label picker: Line break on long label titles
Summary
There is a UI edge case in our label picker that line breaks a rather long label title between the color box and title. See devops:administration
in attached screeny.
Steps to reproduce
- Navigate to a GitLab.com CE issue for example
- Edit labels from issuable sidebar
- Search for "admin"
Example Project
What is the current bug behavior?
- Line break after label color box if a label consists of one long word/no space
What is the expected correct behavior?
- In other pickers we truncate the names and avoid a line break, with tooltip on hover
- Alternative to force a line-break in the title
Relevant logs and/or screenshots
For reference, longer titles with spaces get a line break within the lable title, See Accepting Merge Requests
attached screeny. (Adding a left margin after line break would be an improvement here.)
Edited by Andreas Kämmerle