You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switches the tooltip from having a hard-coded height to using `padding` and `font-size` to achieve the same height, while allowing the text to wrap. Technically the same could've been achieved by using `min-height`, instead of `height`, however since it was using `line-height` to center the text, multi-line text didn't look too good.
Fixesangular#2205.
Bug, feature request, or proposal:
When the text of a tooltip spans multiple lines, only the first line will have a background.
What is the expected behavior?
The tooltip background is behind all lines of text.
What is the current behavior?
The tooltip background is only behind the top line of text.
What are the steps to reproduce?
http://plnkr.co/edit/GKaAf1dfZWqa3cWC0pSy?p=preview
Mouse over the button in the right of the toolbar.
Which versions of Angular, Material, OS, browsers are affected?
Material 2.0.0 alpha 11, Chrome 54.0.2840.99 m
Is there anything else we should know?
The link to the recommended plunkr in the issue template uses alpha 10, which does not have the wrapping behavior for tooltips.
The text was updated successfully, but these errors were encountered: