Skip to content

Commit e9ef1ff

Browse files
authored
fix(toast): exclude igx-icon from typography styles (#16791)
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 e912471 commit e9ef1ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/igniteui-angular/src/lib/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)