-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Toolbar content overflow problem. #2451
Comments
Well, it happens because of : md-toolbar-row {
height: 64px;
} I'm not sure if we should make the toolbar more flexible or stick to this height due to the spec. @rpicone Do you have this problem in one of your applications? |
* No longer wraps lines inside of a `md-toolbar-row` * Overflow for X-axis and Y-Axis are now hidden. Developers should use multiple `md-toolbar-row` elements or can always overwrite the styles. Fixes angular#2451
@dahaupt, yes I´m having this problem but reading flexbox-truncated-text I could find a solution to work with ellipsis inside the toolbar: |
@rpicone Yeah, the problem is that The ellipsis can be archived for flex items, by using the workaround you mentioned (using The PR #2454 just ensures that the text never exceeds / overflows the toolbar row. |
* fix(toolbar): prevent content overflow and line-wrapping * No longer wraps lines inside of a `md-toolbar-row` * Overflow for X-axis and Y-Axis are now hidden. Developers should use multiple `md-toolbar-row` elements or can always overwrite the styles. Fixes #2451 * Address comment * Update comment
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. |
Bug, feature request, or proposal:
Bug with toolbar content overflow.
What is the expected behavior?
The toolbar content should be kept inside the toolbar with ellipsis
What is the current behavior?
The content transpass the height of the toolbar.
What are the steps to reproduce?
Here is the Plunker:
http://plnkr.co/edit/HxeAlLOVKhpnKl5ifSq5?p=preview
What is the use-case or motivation for changing an existing behavior?
Better visual.
Which versions of Angular, Material, OS, browsers are affected?
"@angular/material": "2.0.0-beta.1",
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: