Skip to content

Commit 7b9b5a3

Browse files
committed
refactor(material/icon): moves styles to bottom of scss file
Updates previous fix to move added styles to bottom of scss file for overriding. Fixes b/250063405
1 parent d05d384 commit 7b9b5a3

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/material/icon/icon.scss

+7-8
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ mat-icon {
5151
transform: scale(-1, 1);
5252
}
5353

54-
// Makes button icon overflow visible to fix b/250063405
55-
.mat-mdc-icon-button .mat-icon,
56-
.mdc-button .mat-icon,
57-
.mat-mdc-fab-base .mat-icon {
58-
overflow: visible;
59-
line-height: 1 !important;
60-
}
61-
6254
.mat-form-field:not(.mat-form-field-appearance-legacy) {
6355
.mat-form-field-prefix,
6456
.mat-form-field-suffix {
@@ -72,3 +64,10 @@ mat-icon {
7264
}
7365
}
7466
}
67+
68+
// Makes button icon overflow visible to fix b/250063405
69+
.mat-mdc-icon-button .mat-icon,
70+
.mdc-button .mat-icon,
71+
.mat-mdc-fab-base .mat-icon {
72+
overflow: visible;
73+
}

0 commit comments

Comments
 (0)