File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
src/material-experimental/mdc-snack-bar Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 3434 $config : mat .private-typography-to-2018-config (
3535 mat .get-typography-config ($config-or-theme ));
3636 @include mat .private-using-mdc-typography ($config ) {
37- .mat-mdc-snack-bar-container {
38- @include mdc-snackbar-theme .theme ((
39- supporting- text- font: mat .font-family ($config , body-2 ),
40- supporting- text- line- height: mat .line-height ($config , body-2 ),
41- supporting- text- size: mat .font-size ($config , body-2 ),
42- supporting- text- weight: mat .font-weight ($config , body-2 ),
43- ));
37+ @if ($config ) {
38+ .mat-mdc-snack-bar-container {
39+ @include mdc-snackbar-theme .theme ((
40+ supporting- text- font: mat .font-family ($config , body-2 ),
41+ supporting- text- line- height: mat .line-height ($config , body-2 ),
42+ supporting- text- size: mat .font-size ($config , body-2 ),
43+ supporting- text- weight: mat .font-weight ($config , body-2 ),
44+ ));
45+ }
4446 }
4547 }
4648}
You can’t perform that action at this time.
0 commit comments