How to reduce the min size of an sl-input control? #807
Replies: 3 comments 2 replies
-
By default, inputs are sized to fit their container. The following shows a https://codepen.io/claviska/pen/dymoodV?editors=1000 Perhaps you have a style targeting the |
Beta Was this translation helpful? Give feedback.
-
I am not sure this is working correctly in all cases. When using <table><tr><td width="50px"><sl-input> it does not size to fit the space. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue when set Adding |
Beta Was this translation helpful? Give feedback.
-
Hi there, I am trying to reduce the minimum width of an sl-input control so it will shrink more when the parent shrinks.. Currently it will overflow which I am trying to avoid. I cannot figure out how to do this though, does anyone have an idea on how to do this in shoelace?
Beta Was this translation helpful? Give feedback.
All reactions