Skip to content

Commit

Permalink
fix(material-experimental/mdc-chips): add checkmark container (#17694)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin authored and jelbourn committed Nov 26, 2019
1 parent f800900 commit 25c79cd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/material-experimental/mdc-chips/chip-option.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content>
<svg *ngIf="_chipListMultiple" class="mdc-chip__checkmark-svg" viewBox="-2 -3 30 30">
<path class="mdc-chip__checkmark-path" fill="none" stroke="black"
d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
</svg>
<div class="mdc-chip__checkmark" *ngIf="_chipListMultiple">
<svg class="mdc-chip__checkmark-svg" viewBox="-2 -3 30 30">
<path class="mdc-chip__checkmark-path" fill="none" stroke="black"
d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
</svg>
</div>
<div class="mdc-chip__text"><ng-content></ng-content></div>
<ng-content select="mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"></ng-content>

0 comments on commit 25c79cd

Please sign in to comment.