Skip to content

Commit e50a641

Browse files
committed
fix(material-experimental/mdc-button): fix incomplete icon class targeting in styles
1 parent aa7dc00 commit e50a641

File tree

1 file changed

+3
-3
lines changed
  • src/material-experimental/mdc-button

1 file changed

+3
-3
lines changed

src/material-experimental/mdc-button/fab.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
// ```
2525
// However, Angular Material expects a `mat-icon` instead. The following
2626
// mixin will style the icons appropriately.
27-
.mat-icon {
27+
.mat-icon, .material-icons {
2828
@include mdc-fab-icon_();
2929
}
3030
}
3131

3232
.mat-mdc-extended-fab {
3333
@include mdc-fab-extended_();
3434

35-
.mat-icon {
35+
.mat-icon, .material-icons {
3636
@include mdc-fab-extended-icon-padding(
3737
$mdc-fab-extended-icon-padding,
3838
$mdc-fab-extended-label-padding
@@ -42,7 +42,7 @@
4242
// For Extended FAB with text label followed by icon.
4343
// We are checking for the a button class because white this is a FAB it
4444
// uses the same template as button.
45-
.mdc-button__label + .mat-icon {
45+
.mdc-button__label + .mat-icon, .mdc-button__label + .material-icons {
4646
@include mdc-fab-extended-icon-padding(
4747
$mdc-fab-extended-icon-padding,
4848
$mdc-fab-extended-label-padding,

0 commit comments

Comments
 (0)