Topic: Input group with select -fit width to select content
nick.kaynes priority asked 1 month ago
I have an input group with select appended to show price and currency picker in select. But the width of the select component is randomly set to too large width.
How can I make the width of the select component occupy only the minimumn width needed to show the currency symbol ?
Hi, there is no option in component to set width, but you can set it with CSS.Maybe better aproach is to use dropdown button instead of select, since button is taking the only space it needs?
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.4.0
- Device: windows desktop
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: Yes