File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/material-experimental/mdc-button Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 24
24
// ```
25
25
// However, Angular Material expects a `mat-icon` instead. The following
26
26
// mixin will style the icons appropriately.
27
- .mat-icon {
27
+ /* stylelint-disable-next-line selector-class-pattern */
28
+ .mat-icon , .material-icons {
28
29
@include mdc-fab-icon_ ();
29
30
}
30
31
}
31
32
32
33
.mat-mdc-extended-fab {
33
34
@include mdc-fab-extended_ ();
34
35
35
- .mat-icon {
36
+ /* stylelint-disable-next-line selector-class-pattern */
37
+ .mat-icon , .material-icons {
36
38
@include mdc-fab-extended-icon-padding (
37
39
$mdc-fab-extended-icon-padding ,
38
40
$mdc-fab-extended-label-padding
42
44
// For Extended FAB with text label followed by icon.
43
45
// We are checking for the a button class because white this is a FAB it
44
46
// uses the same template as button.
45
- .mdc-button__label + .mat-icon {
47
+ /* stylelint-disable-next-line selector-class-pattern */
48
+ .mdc-button__label + .mat-icon , .mdc-button__label + .material-icons {
46
49
@include mdc-fab-extended-icon-padding (
47
50
$mdc-fab-extended-icon-padding ,
48
51
$mdc-fab-extended-label-padding ,
You can’t perform that action at this time.
0 commit comments