Skip to content

Commit 74285bd

Browse files
committed
fix(stepper): inconsistent icon size for custom icons
Fixes the stepper not setting the proper font size for custom number icons. Fixes #12999.
1 parent 4ddbde9 commit 74285bd

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/lib/stepper/step-header.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ $mat-step-header-icon-size: 16px !default;
3838
transform: translate(-50%, -50%);
3939
}
4040

41-
.mat-step-icon .mat-icon {
42-
font-size: $mat-step-header-icon-size;
43-
height: $mat-step-header-icon-size;
44-
width: $mat-step-header-icon-size;
41+
.mat-step-icon,
42+
.mat-step-icon-not-touched {
43+
.mat-icon {
44+
font-size: $mat-step-header-icon-size;
45+
height: $mat-step-header-icon-size;
46+
width: $mat-step-header-icon-size;
47+
}
4548
}
4649

4750
.mat-step-label {

0 commit comments

Comments
 (0)