Skip to content

Commit c9a1547

Browse files
crisbetoandrewseguin
authored andcommitted
fix(material-experimental/mdc-select): target correct element with typography (#24258)
Targets the MDC select host node instead of just the value with the typography mixin. The previous approach would've broken any overrides and it didn't cover the select placeholder. (cherry picked from commit f5d74da)
1 parent 74bae85 commit c9a1547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/mdc-select/_select-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
@include mdc-list.list-base(mdc-helpers.$mat-typography-styles-query);
7272
}
7373

74-
.mat-mdc-select-value {
74+
.mat-mdc-select {
7575
@include mdc-typography.typography(body1, $query: mdc-helpers.$mat-typography-styles-query);
7676
}
7777
}

0 commit comments

Comments
 (0)