aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-06-25 20:18:30 -0700
committerChris Rebert <[email protected]>2013-06-25 20:18:30 -0700
commit242d92e09c60396bad0837581a9692bf7abe8aea (patch)
tree50bca2eb7cbef5d8a093a2547c8163d6e78cec27 /docs/components.html
parentcc43ba35d7c1bb4663a8aea4eb0ba3a97d782852 (diff)
downloadbootstrap-242d92e09c60396bad0837581a9692bf7abe8aea.tar.xz
bootstrap-242d92e09c60396bad0837581a9692bf7abe8aea.zip
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 55f27cbc3..bbb2c0f55 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">