form-select Bootstrap 5.3.3: how to adjust width to size op option value?
I see that in older Bootstrap version you could use data-width=fit to set the width of the selectpicker follow the width of the values. Now in Bootstrap 5.3.3. I use the form-select with several option values of various sizes. The arrow down of the dropdown menu positions itself on the right side of the longest option value. I am using this form-select in a menubar for selecting the language and this looks rather ugly when the shorter value is selected. I have been tryin all day to find a solution but cannot seem to find anything. Anybody any idea? Here is the code of the menu: