fix(list): prevent list icon shrinking (#9211)

* Since the list-item uses flexbox, it can happen that the `matListIcon` shrinks to make place for the `mat-list-text`. Similar as for the `matListAvatar` shrinking should be disabled for the `matListIcon`.

Fixes #8699
This commit is contained in:
Paul Gschwendtner
2018-01-12 16:07:27 +01:00
committed by Andrew Seguin
parent dfbd8d211a
commit 5737b9fd89
+1
View File
@@ -134,6 +134,7 @@ $mat-list-item-inset-divider-offset: 72px;
}
.mat-list-icon {
flex-shrink: 0;
width: $icon-size;
height: $icon-size;
font-size: $icon-size;