From 628914776cd3557370b7f01f61ff73544cf877d1 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Sat, 22 Jan 2022 07:23:53 +0100 Subject: [PATCH] fix(material-experimental/mdc-select): target correct element with typography 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. --- 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); } }