Skip to content

Commit 716ab06

Browse files
committed
fix(material-experimental/mdc-chips): align with latest MDC markup
Aligns the MDC-based chips with the latest MDC markup. Also bumps to the latest MDC Canary version.
1 parent 3d35180 commit 716ab06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/material-experimental/mdc-chips/chip.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
[matRippleTrigger]="_elementRef.nativeElement"></span>
88

99
<ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content>
10-
<div class="mdc-chip__text mdc-chip__action--primary"><ng-content></ng-content></div>
10+
<div class="mdc-chip__primary-action">
11+
<div class="mdc-chip__text"><ng-content></ng-content></div>
12+
</div>
1113
<ng-content select="mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"></ng-content>

0 commit comments

Comments
 (0)