From c9a15476e8aa4995b2129e5d97cd631746adaaf5 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Wed, 23 Feb 2022 18:52:35 +0100 Subject: [PATCH] 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 f5d74daf1d9adf833f223253835244529af664cc) --- src/material-experimental/mdc-select/_select-theme.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material-experimental/mdc-select/_select-theme.scss b/src/material-experimental/mdc-select/_select-theme.scss index 47ced15c462e..a9470cb43112 100644 --- a/src/material-experimental/mdc-select/_select-theme.scss +++ b/src/material-experimental/mdc-select/_select-theme.scss @@ -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); } }