File tree 1 file changed +12
-11
lines changed
src/material-experimental/mdc-button
1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 16
16
background : transparent ;
17
17
opacity : 1 ;
18
18
}
19
- }
20
19
21
- // MDC expects the fab icon to contain this HTML content:
22
- // ```html
23
- // <span class="mdc-fab__icon material-icons">favorite</span>
24
- // ```
25
- // However, Angular Material expects a `mat-icon` instead. The following
26
- // will extend the `mdc-fab__icon` styling to the mat icon. Note that
27
- // the extended styles inherently only match icons that nest themselves in
28
- // a parent `mdc-fab`.
29
- .mat-icon {
30
- @extend .mdc-fab__icon ;
20
+ // MDC expects the fab icon to contain this HTML content:
21
+ // ```html
22
+ // <span class="mdc-fab__icon material-icons">favorite</span>
23
+ // ```
24
+ // However, Angular Material expects a `mat-icon` instead. The following
25
+ // will extend the `mdc-fab__icon` styling to the mat icon. Note that
26
+ // the extended styles inherently only match icons that nest themselves in
27
+ // a parent `mdc-fab`.
28
+ .mat-icon {
29
+ @extend .mdc-fab__icon ;
30
+ }
31
31
}
32
+
You can’t perform that action at this time.
0 commit comments