From 973b0fff16772a636dc7e4966baf9d966bc9fa1b Mon Sep 17 00:00:00 2001 From: Ajay Gandecha Date: Wed, 5 Nov 2025 20:29:05 -0500 Subject: [PATCH] fix(material/chips): fix stretched chip avatar image Fixes a bug in the Material chip component where avatar images were significantly vertically stretched on many browsers (most prominently on Safari, but visible on Chrome as well). Fixes #32251 --- src/material/chips/chip.scss | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/material/chips/chip.scss b/src/material/chips/chip.scss index acace3db6bb0..5bf963ea5734 100644 --- a/src/material/chips/chip.scss +++ b/src/material/chips/chip.scss @@ -739,11 +739,4 @@ $fallbacks: m3-chip.get-tokens(); // a separate element, rather than on the focusable element itself. .mat-mdc-chip-action:focus .mat-focus-indicator::before { content: ''; -} - -// Prevents icon from being cut off when text spacing is increased. -// .mat-mdc-chip-remove selector necessary for remove button with icon. -// Fixes b/250063405. -.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { - min-height: fit-content; -} +} \ No newline at end of file