Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(material/form-field): account in cols attribute on textarea #29836

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/material/form-field/form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ $_icon-prefix-infix-padding: 4px;
// Needed so that the floating label does not overlap with prefixes or suffixes.
position: relative;
box-sizing: border-box;

// We do not want to set fixed width on textarea with cols attribute as it makes different
// columns look same width.
&:has(textarea[cols]) {
width: auto;
}
}

// In the form-field theme, we add a 1px left margin to the notch to fix a rendering bug in Chrome.
Expand Down
Loading