File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/material-experimental/mdc-button Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 69
69
// However, Angular Material expects a `mat-icon` instead. The following
70
70
// mixins will style the icons appropriately.
71
71
.mat-mdc-button {
72
- .mat-icon {
72
+ & > .mat-icon {
73
73
@include mdc-button-base .icon ();
74
74
}
75
75
.mdc-button__label + .mat-icon {
81
81
.mat-mdc-raised-button ,
82
82
.mat-mdc-outlined-button {
83
83
// Icons inside contained buttons have different styles due to increased button padding
84
- .mat-icon {
84
+ & > .mat-icon {
85
85
@include mdc-button-base .icon ();
86
86
@include mdc-button-base .icon-contained ();
87
87
}
Original file line number Diff line number Diff line change 77
77
.mat-mdc-extended-fab {
78
78
@include mdc-fab .extended_ ($query : mdc-helpers .$mat-base-styles-query );
79
79
80
- // stylelint-disable-next-line selector-class-pattern
81
- .mat-icon , .material-icons {
80
+ & > .mat-icon ,
81
+ & > .material-icons { // stylelint-disable-line selector-class-pattern
82
82
@include mdc-fab .extended-icon-padding (
83
83
mdc-fab .$extended-icon-padding ,
84
84
mdc-fab .$extended-label-padding
You can’t perform that action at this time.
0 commit comments