Skip to content

Commit 429fb52

Browse files
committed
fix(material/form-field): add min-height to mdc-text-field for textarea consistency
When textarea is resized to small height it overlaps the content, this fix set's the min-height Fixes #30089
1 parent a7ff33c commit 429fb52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/form-field/_mdc-text-field-structure.scss

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ $token-slots: m2-form-field.get-token-slots();
4343
// TODO(crisbeto): this height gets overwritten eventually, but there are some internal
4444
// tests that depend on this being here in weird ways so we're keeping it around for now.
4545
height: 28px;
46+
min-height: 28px;
4647

4748
// Note that while this style and the `-ms-clear` are identical, we can't combine
4849
// them because if one of them isn't supported, it'll invalidate the whole rule.

0 commit comments

Comments
 (0)