From 740be12f23ce9a621ebf44d935202e3b2ca1947a Mon Sep 17 00:00:00 2001 From: Simeon Simeonoff Date: Thu, 22 Jan 2026 13:56:12 +0200 Subject: [PATCH] fix(toast): exclude igx-icon from typography styles Fixes issue where Material icons in toast were not displayed correctly. Typography styles were being applied to all child elements including icons, which interfered with icon rendering. Now explicitly excludes igx-icon elements from typography styles using :not() selector. Closes #16760 --- .../core/src/core/styles/components/toast/_toast-theme.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/igniteui-angular/core/src/core/styles/components/toast/_toast-theme.scss b/projects/igniteui-angular/core/src/core/styles/components/toast/_toast-theme.scss index 411989a9bba..3724ee174d3 100644 --- a/projects/igniteui-angular/core/src/core/styles/components/toast/_toast-theme.scss +++ b/projects/igniteui-angular/core/src/core/styles/components/toast/_toast-theme.scss @@ -52,7 +52,7 @@ $text: map.get($categories, 'text'); %igx-toast-display, - %igx-toast-display > * { + %igx-toast-display > *:not(igx-icon) { @include type-style($text) { margin: 0; }