Page MenuHomePhabricator

Select: label is misaligned if font size is 14px equivalent
Open, Needs TriagePublic

Description

while using the cdx-select component with the vector22 skin active, we noticed that the label is misaligned with the icon.

after investigating this it seems that the issue is related to font sizing.

16px14px
image.png (408×934 px, 33 KB)
image.png (296×906 px, 27 KB)

Event Timeline

AnneT subscribed.

Thanks for reporting @AAlhazwani-WMF.

Once we have proper text truncation in Select, it seems like we should be able to use flexbox to vertically center the handle content to fix this.