diff --git a/_includes/nav-components.html b/_includes/nav-components.html index c60a1cd450..c5ced697d1 100644 --- a/_includes/nav-components.html +++ b/_includes/nav-components.html @@ -10,28 +10,28 @@
Add .pull-right
to a .dropdown-menu
to right align the dropdown menu.
Add a header to label sections of actions in any dropdown menu.
Add .disabled
to a <li>
in the dropdown to disable the link.
When using tooltips or popovers on elements within a .btn-group
, you'll have to specify the option container: 'body'
to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).
Wrap a series of buttons with .btn
in .btn-group
.
Combine sets of <div class="btn-group">
into a <div class="btn-toolbar">
for more complex components.
Instead of applying button sizing classes to every button in a group, just add .btn-group-*
to the .btn-group
.
Place a .btn-group
within another .btn-group
when you want dropdown menus mixed with a series of buttons.
Make a set of buttons appear vertically stacked rather than horizontally.
Make a group of buttons stretch at the same size to span the entire width of its parent.
Button dropdowns work with buttons of all sizes.
Trigger dropdown menus above elements by adding .dropup
to the parent.
When using tooltips or popovers on elements within an .input-group
, you'll have to specify the option container: 'body'
to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).