Skip to content

Commit 59fd13b

Browse files
authored
fix(toast): exclude igx-icon from typography styles (#16789)
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
1 parent 8ec949f commit 59fd13b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/igniteui-angular/core/src/core/styles/components/toast/_toast-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
$text: map.get($categories, 'text');
5353

5454
%igx-toast-display,
55-
%igx-toast-display > * {
55+
%igx-toast-display > *:not(igx-icon) {
5656
@include type-style($text) {
5757
margin: 0;
5858
}

0 commit comments

Comments
 (0)