aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-06-27 18:38:34 -0700
committerMark Otto <[email protected]>2013-06-27 18:38:34 -0700
commitcb29ed07518402c2f3ad9fbf71ed1297846727b2 (patch)
tree734b5150f0a6b642770e19fc67d50cfc1214bf95 /docs/components.html
parent296b9d7293c99eaa0abda4a65f182ca104afbfdc (diff)
parent242d92e09c60396bad0837581a9692bf7abe8aea (diff)
downloadbootstrap-cb29ed07518402c2f3ad9fbf71ed1297846727b2.tar.xz
bootstrap-cb29ed07518402c2f3ad9fbf71ed1297846727b2.zip
Merge pull request #8307 from cvrebert/8287-docs-patch
Fix #8287
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/components.html b/docs/components.html
index 48c7411d0..7768fccf3 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -482,6 +482,11 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
</div>
<p class="lead">Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with <a href="./javascript.html#buttons">our buttons plugin</a>.</p>
+ <div class="bs-callout">
+ <h4>Tooltips &amp; popovers in button groups require special setting</h4>
+ <p>When using tooltips or popovers on elements within a <code>.btn-group</code>, you'll have to specify the option <code>container: 'body'</code> to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).</p>
+ </div>
+
<h3 id="btn-groups-single">Basic button group</h3>
<p>Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.</p>
<div class="bs-example">