Skip to content

Commit

Permalink
fix(material-experimental/mdc-select): target correct element with ty…
Browse files Browse the repository at this point in the history
…pography (#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.
  • Loading branch information
crisbeto committed Feb 23, 2022
1 parent 65fb5f4 commit f5d74da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-select/_select-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
@include mdc-list.list-base(mdc-helpers.$mat-typography-styles-query);
}

.mat-mdc-select-value {
.mat-mdc-select {
@include mdc-typography.typography(body1, $query: mdc-helpers.$mat-typography-styles-query);
}
}
Expand Down

0 comments on commit f5d74da

Please sign in to comment.