Skip to content

Commit b9d4048

Browse files
authored
fix(material/chips): use concrete value for remove icon size (#28751)
Currently the remove icon is a bit brittle, because the size is set to `inherit` which only works if there's a `button` around it. These changes set the specific width instead. Fixes #28467.
1 parent 9c4e451 commit b9d4048

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/material/chips/chip.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@
366366
}
367367

368368
.mat-icon {
369-
width: inherit;
370-
height: inherit;
371-
font-size: inherit;
369+
width: mdc-chip-theme.$trailing-action-size;
370+
height: mdc-chip-theme.$trailing-action-size;
371+
font-size: mdc-chip-theme.$trailing-action-size;
372372
box-sizing: content-box;
373373
}
374374
}

0 commit comments

Comments
 (0)