Skip to content

Commit

Permalink
fix(list): set flex-shrink for avatar
Browse files Browse the repository at this point in the history
md-list-avatar aren't correctly displayed on the initial render
set flex-shrink to fix this behavior

Closes angular#1403
  • Loading branch information
andrewmnlv committed Oct 10, 2016
1 parent 0b5b6f2 commit 0ceacb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/list/list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ $md-dense-three-line-height: 76px;
}

[md-list-avatar] {
flex-shrink: 0;
width: $md-list-avatar-size;
height: $md-list-avatar-size;
border-radius: 50%;
Expand Down

0 comments on commit 0ceacb9

Please sign in to comment.