Improvement - Allow for other min-width for sdds-textfield
Closed this issue · 0 comments
blomqvist commented
Describe current situation
The current min-width
for <input>
is 208px
as of now. For tables with many inputs, this will make for a very wide table.
Describe the improvement
Have a default min-width
, but allow perhaps a few variants to be set via <sdds-textfield width="sm">
, or just to be able to supply a rem
based value; <sdds-textfield width="10">
. (Or perhaps apply the input[size]
attribute?)
Screenshots
My use case is a table with inputs that only requires 1-3 digits. There is a lot of white space in the inputs making my table wide.