From ff4496d179f8229108caa6047951ffd991134257 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Wed, 20 Mar 2024 15:12:06 +0100 Subject: [PATCH] fix(material/chips): use concrete value for remove icon size 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. --- src/material/chips/chip.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/material/chips/chip.scss b/src/material/chips/chip.scss index 9525013d2710..c86c300a7b2b 100644 --- a/src/material/chips/chip.scss +++ b/src/material/chips/chip.scss @@ -366,9 +366,9 @@ } .mat-icon { - width: inherit; - height: inherit; - font-size: inherit; + width: mdc-chip-theme.$trailing-action-size; + height: mdc-chip-theme.$trailing-action-size; + font-size: mdc-chip-theme.$trailing-action-size; box-sizing: content-box; } }