-
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
Dense lists avatar size doesn't follow the guidelines #10019
Comments
* Fixes the dense list avatar being slightly larger than the spec. * Removes an unnecessary setter from the `MatListItem` class. Fixes angular#10019.
* Fixes the dense list avatar being slightly larger than the spec. * Removes an unnecessary setter from the `MatListItem` class. Fixes angular#10019.
* Fixes the dense list avatar being slightly larger than the spec. * Removes an unnecessary setter from the `MatListItem` class. Fixes angular#10019.
* Fixes the dense list avatar being slightly larger than the spec. * Removes an unnecessary setter from the `MatListItem` class. Fixes #10019.
* Fixes the dense list avatar being slightly larger than the spec. * Removes an unnecessary setter from the `MatListItem` class. Fixes angular#10019.
* Fixes the dense list avatar being slightly larger than the spec. * Removes an unnecessary setter from the `MatListItem` class. Fixes angular#10019.
The height should remain 48px when using mat-nav-list with mat-list-icon. @crisbeto Now because of the mat-list-item-with-avatar it gets set to 56px, which is wrong. |
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:
Dense lists avatar size doesn't follow the guidelines, it should be 36px in height and width.
What is the expected behavior?
Dense list avatar size should be 36px;
What is the current behavior?
In material2/src/lib/list/list.scss
$mat-list-avatar-size = 40; For both normal and dense lists.
What are the steps to reproduce?
Dense list to the right should have smaller avatars.
https://tina-material-tree.firebaseapp.com/list
What is the use-case or motivation for changing an existing behavior?
Avatar size should follow the guidelines.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/core": "^5.2.5",
"@angular/material": "^5.2.1",
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: