File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
src/material-experimental Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 20
20
// Note that we include this private mixin, because the public one adds
21
21
// a bunch of styles that we aren't using for the autocomplete panel.
22
22
@include mdc-list-base_ ($mat-typography-styles-query );
23
-
24
- // MDC uses the `subtitle1` level for list items, but the spec shows `body1` as the correct
25
- // level.
26
- .mat-mdc-option {
27
- @include mdc-typography (body1, $query : $mat-typography-styles-query );
28
- }
29
23
}
30
24
}
31
25
}
Original file line number Diff line number Diff line change 43
43
44
44
@mixin mat-mdc-option-typography ($config-or-theme ) {
45
45
$config : mat-get-typography-config ($config-or-theme );
46
+
47
+ @include mat-using-mdc-typography ($config ) {
48
+ // MDC uses the `subtitle1` level for list items, but the spec shows `body1` as the correct
49
+ // level. Class is repeated for increased specificity.
50
+ .mat-mdc-option {
51
+ @include mdc-typography (body1, $query : $mat-typography-styles-query );
52
+ }
53
+ }
46
54
}
47
55
48
56
@mixin mat-mdc-option-density ($config-or-theme ) {
Original file line number Diff line number Diff line change 89
89
// Note that we include this private mixin, because the public one adds
90
90
// a bunch of styles that we aren't using for the select panel.
91
91
@include mdc-list-base_ ($mat-typography-styles-query );
92
+ }
92
93
93
- // MDC uses the `subtitle1` level for list items, but the spec shows `body1` as the correct
94
- // level.
95
- .mat-mdc-option {
96
- @include mdc-typography (body1, $query : $mat-typography-styles-query );
97
- }
94
+ .mat-mdc-select-value {
95
+ @include mdc-typography (body1, $query : $mat-typography-styles-query );
98
96
}
99
97
}
100
98
}
You can’t perform that action at this time.
0 commit comments