Skip to content

Commit d1497a9

Browse files
committed
fix(material/form-field): fix typography for native input element
1 parent dabbff4 commit d1497a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/form-field/_form-field-theme.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
// shows `body1` for text fields though, so we manually override the typography.
101101
// Note: Form controls inherit the typography from the parent form field.
102102
.mat-mdc-form-field,
103+
.mdc-text-field__input,
103104
.mat-mdc-floating-label {
104105
@include mdc-typography.typography(body1, $query: mdc-helpers.$mdc-typography-styles-query);
105106
}

0 commit comments

Comments
 (0)