-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add field-sizing
utilities
#14469
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
Add field-sizing
utilities
#14469
Conversation
Nice 😎 Where should we stick this in the |
I was wondering if we needed to. What about after |
Let's do it right before the |
dfbb5d5
to
0c92591
Compare
5036a84
to
6c95e39
Compare
This PR adds support for the [`field-sizing`](https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing) property which can be used to fit a text inputs, file inputs, textareas, and selects to the size of the text rather than some implicit default width. --------- Co-authored-by: Adam Wathan <[email protected]>
staticUtility('field-sizing-fixed', [['field-sizing', 'fixed']]) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing field-sizing: normal
staticUtility('field-sizing-normal', [['field-sizing', 'normal']])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
normal
was replaced with content
in late 2023 while the spec was still a work in progress
"end-auto", | ||
"end-full", | ||
"field-sizing-content", | ||
"field-sizing-fixed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing normal
"field-sizing-normal",
This PR adds support for the
field-sizing
property which can be used to fit a text inputs, file inputs, textareas, and selects to the size of the text rather than some implicit default width.