mirror of
https://github.com/material-components/material-web.git
synced 2024-09-20 18:17:15 +03:00
fix(field): supporting text typography not resolving
PiperOrigin-RevId: 466241475
This commit is contained in:
parent
647a767029
commit
a96664b835
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user