Respect size attribute for form fields #457
andypillip
started this conversation in
Ideas
Replies: 1 comment
-
@andypillip great idea. I like it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It’s usability best practice to size form fields according to the expected input. It helps users gather without reading what is expected.
Example:
Currently, all inputs are full width.
It would be nice if the presence of a size attribute would be respected by the styles.
This could be achieved like so:
Checkboxes etc. are already excluded, it would suffice to add
[size]
to the list of exceptions, but I guess it would need somedisplay: block
as well, as the size currently is the only means used to keep the input in its own line.Beta Was this translation helpful? Give feedback.
All reactions