Skip to content

Commit 48644f5

Browse files
authored
fix(material/chips): icon cut off when text-spacing is increased (#30867)
1 parent e500a8e commit 48644f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/material/chips/chip.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,3 +740,10 @@ $token-slots: m2-chip.get-token-slots();
740740
.mat-mdc-chip-action:focus .mat-focus-indicator::before {
741741
content: '';
742742
}
743+
744+
// Prevents icon from being cut off when text spacing is increased.
745+
// .mat-mdc-chip-remove selector necessary for remove button with icon.
746+
// Fixes b/250063405.
747+
.mdc-evolution-chip__icon, .mat-mdc-chip-remove .mat-icon {
748+
min-height: fit-content;
749+
}

0 commit comments

Comments
 (0)