fix(field): supporting text typography not resolving

PiperOrigin-RevId: 466241475
This commit is contained in:
Elizabeth Mitchell 2022-08-08 21:44:00 -07:00 committed by Copybara-Service
parent 647a767029
commit a96664b835
3 changed files with 5 additions and 5 deletions

View File

@ -99,6 +99,7 @@ $dark-theme: values(
@function _resolve-theme($theme, $resolvers) {
$theme: label-theme.resolve-theme($theme, $resolvers);
$theme: supporting-text-theme.resolve-theme($theme, $resolvers);
$theme: shape.resolve-theme(
$theme,
map.get($resolvers, shape),

View File

@ -99,6 +99,7 @@ $dark-theme: values(
@function _resolve-theme($theme, $resolvers) {
$theme: label-theme.resolve-theme($theme, $resolvers);
$theme: supporting-text-theme.resolve-theme($theme, $resolvers);
$theme: shape.resolve-theme(
$theme,
map.get($resolvers, shape),

View File

@ -12,11 +12,9 @@
justify-content: space-between;
}
.md3-field__supporting-text,
.md3-field__supporting-text-start,
.md3-field__supporting-text-end {
::slotted(:not(:empty)) {
// Can't be an inline display element (<span>) for padding-top to work.
display: inline-flex;
}
// Can't be an inline display element (<span>) for padding-top to work.
display: flex;
}
}