You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone managed to have different width between the select and the options? I want the select to be width: "50%" and the options to be width: "100%".
Best solution would be to just apply padding so auto-width is applied and then the options dropdown should have fixed width.
Since my options title could be long, I have to make the entire select big enough to fit them and there's lot's of whitespace:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Has anyone managed to have different width between the select and the options? I want the select to be
width: "50%"
and the options to bewidth: "100%"
.Best solution would be to just apply
padding
so auto-width is applied and then the options dropdown should have fixed width.Since my options title could be long, I have to make the entire select big enough to fit them and there's lot's of whitespace:
Beta Was this translation helpful? Give feedback.
All reactions