-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(select): not trimming long labels #2444
Conversation
@crisbeto This seems to throw off the alignment of icons in md-menu. Can you fix? I think it's the line height. |
* Fixes long text not being trimmed inside of `md-option`, because the element is a flex container. Switches it to `display: block` and uses `line-height` to center the text. * Fixes the selected value not being trimmed, because the element doesn't have a defined width. Fixes angular#2440.
e367278
to
2363f18
Compare
Fixed @kara. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
md-option
, because the element is a flex container. Switches it todisplay: block
and usesline-height
to center the text.Fixes #2440.