-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(material/chips): fix image stretching in examples (#25116)
- Loading branch information
1 parent
8bca5e1
commit 9ee1b7d
Showing
1 changed file
with
3 additions
and
9 deletions.
There are no files selected for viewing
12 changes: 3 additions & 9 deletions
12
src/components-examples/material/chips/chips-avatar/chips-avatar-example.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |