Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding multiple buttons with dropdowns results in a btn-group class being added #4266
Please check the fiddle: https://jsfiddle.net/7axtqc8y/
When I add three dropdown buttons, the HTML will render automatically with a class of
How can I have the 3 buttons as per above fiddle but prevent the additional
Dropdown trigger buttons are always rendered as an inline element (just like a button is an inline element). Button group class is always added to each wrapper element.
Are you looking to have each dropdown on a separate line?
If so, then add a wrapper div around each dropdown. The div will force each dropdown to be on a new line.