File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -84,16 +84,14 @@ $_icon-size: 24px;
84
84
$property-name : size ,
85
85
);
86
86
87
- .mat-mdc-icon-button {
88
- @include mdc-icon-button-theme .theme ((
89
- state- layer- size: $calculated-size ,
90
- ));
91
- }
92
-
93
87
// Use `mat-mdc-button-base` to increase the specificity over the button's structural styles.
94
88
.mat-mdc-icon-button.mat-mdc-button-base {
95
89
// Match the styles that used to be present. This is necessary for backwards
96
90
// compat to match the previous implementations selector count (two classes).
91
+ @include mdc-icon-button-theme .theme ((
92
+ state- layer- size: $calculated-size ,
93
+ ));
94
+
97
95
// TODO: Switch calculated-size to "var(--mdc-icon-button-state-layer-size)"
98
96
// Currently fails validation because the variable is "undefined"
99
97
// in the sass stack.
You can’t perform that action at this time.
0 commit comments