Skip to content

Commit 5fa5185

Browse files
adolgachevmmalerba
authored andcommitted
fix(material/chips): icon cut off when text-spacing is increased (#30867)
(cherry picked from commit 48644f5)
1 parent c72b864 commit 5fa5185

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/material/chips/chip.scss

+7
Original file line numberDiff line numberDiff line change
@@ -742,3 +742,10 @@ $_avatar-trailing-padding: 8px;
742742
.mat-mdc-chip-action:focus .mat-focus-indicator::before {
743743
content: '';
744744
}
745+
746+
// Prevents icon from being cut off when text spacing is increased.
747+
// .mat-mdc-chip-remove selector necessary for remove button with icon.
748+
// Fixes b/250063405.
749+
.mdc-evolution-chip__icon, .mat-mdc-chip-remove .mat-icon {
750+
min-height: fit-content;
751+
}

0 commit comments

Comments
 (0)