diff --git a/docs/components.html b/docs/components.html index 48c7411d04..7768fccf37 100644 --- a/docs/components.html +++ b/docs/components.html @@ -482,6 +482,11 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with our buttons plugin.
+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
.
<section>
should be wrapped as inline.
Adding on top of existing browser controls, Bootstrap includes other useful form components.
Add text or buttons before, after, or on both sides of any text-based input. Use .input-group
with a .add-on
to prepend or append elements to an <input>
.
Add text or buttons before, after, or on both sides of any text-based input. Use .input-group
with an .add-on
to prepend or append elements to an <input>
.
Avoid using <select>
elements here as they cannot be fully styled in WebKit browsers.
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).
When using popovers on elements within a .btn-group
or an .input-group
, you'll have to specify the option container: 'body'
(documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).
Four options are available: top, right, bottom, and left aligned.
@@ -1004,7 +1009,7 @@ $('#example').tooltip(options)Appends the popover to a specific element container: 'body'
Appends the popover to a specific element. Example: container: 'body'