Skip to content

Commit

Permalink
docs(material/chips): fix image stretching in examples (#25116)
Browse files Browse the repository at this point in the history
Fix image stretch issue raised here:
#19822

(cherry picked from commit 272a358)
  • Loading branch information
JamesJansson authored and crisbeto committed Jun 24, 2022
1 parent 8bca5e1 commit 9ee1b7d
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
<mat-chip-list aria-label="Dog selection">
<mat-chip>
<mat-chip-avatar>
<img src="https://material.angular.io/assets/img/examples/shiba1.jpg" alt="Photo of a Shiba Inu"/>
</mat-chip-avatar>
<img matChipAvatar src="https://material.angular.io/assets/img/examples/shiba1.jpg" alt="Photo of a Shiba Inu"/>
Dog one
</mat-chip>
<mat-chip color="primary">
<mat-chip-avatar>
<img src="https://material.angular.io/assets/img/examples/shiba1.jpg" alt="Photo of a Shiba Inu"/>
</mat-chip-avatar>
<img matChipAvatar src="https://material.angular.io/assets/img/examples/shiba1.jpg" alt="Photo of a Shiba Inu"/>
Dog two
</mat-chip>
<mat-chip color="accent">
<mat-chip-avatar>
<img src="https://material.angular.io/assets/img/examples/shiba1.jpg" alt="Photo of a Shiba Inu"/>
</mat-chip-avatar>
<img matChipAvatar src="https://material.angular.io/assets/img/examples/shiba1.jpg" alt="Photo of a Shiba Inu"/>
Dog three
</mat-chip>
</mat-chip-list>

0 comments on commit 9ee1b7d

Please sign in to comment.