Skip to content

Commit f5d74da

Browse files
authored
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.
1 parent 65fb5f4 commit f5d74da

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)