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 upAdding multiple buttons with dropdowns results in a btn-group class being added #4266
Comments
This comment has been minimized.
This comment has been minimized.
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. |
This comment has been minimized.
This comment has been minimized.
Thank you very much. I think wrapping the button in a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Please check the fiddle: https://jsfiddle.net/7axtqc8y/
When I add three dropdown buttons, the HTML will render automatically with a class of
btn-group
which results in a horizontal layout of the buttons (becauseinline-flex
is rendered).How can I have the 3 buttons as per above fiddle but prevent the additional
btn-group
class added?Thanks!