]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Tooltips on <table>s should use container: body ; fixes #17809
authorChris Rebert <code@chrisrebert.com>
Thu, 8 Oct 2015 04:22:59 +0000 (21:22 -0700)
committerChris Rebert <code@chrisrebert.com>
Thu, 8 Oct 2015 04:24:20 +0000 (21:24 -0700)
docs/_includes/js/popovers.html
docs/_includes/js/tooltips.html

index 78369ea05713d316ebcfebf57f1715a9c6d2db81..b539bfe16554707703c6b1803c0192214eadc108 100644 (file)
@@ -19,8 +19,8 @@ $(function () {
 {% endhighlight %}
   </div>
   <div class="bs-callout bs-callout-warning" id="callout-popover-groups">
-    <h4>Popovers in button groups and input groups require special setting</h4>
-    <p>When using popovers on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).</p>
+    <h4>Popovers in button groups, input groups, and tables require special setting</h4>
+    <p>When using popovers on elements within a <code>.btn-group</code>, <code>.input-group</code>, or <code>&lt;table&gt;</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).</p>
   </div>
   <div class="bs-callout bs-callout-warning" id="callout-popover-hidden">
     <h4>Don't try to show popovers on hidden elements</h4>
index 991c0c9c94c42430df06e35af16bb0aea82b1545..fd85256b2d22596282366c2a02a882434d9f8f90 100644 (file)
@@ -97,8 +97,8 @@ $('#example').tooltip(options)
     <p>Sometimes you want to add a tooltip to a hyperlink that wraps multiple lines. The default behavior of the tooltip plugin is to center it horizontally and vertically. Add <code>white-space: nowrap;</code> to your anchors to avoid this.</p>
   </div>
   <div class="bs-callout bs-callout-warning" id="callout-tooltip-groups">
-    <h4>Tooltips in button groups and input groups require special setting</h4>
-    <p>When using tooltips on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip is triggered).</p>
+    <h4>Tooltips in button groups, input groups, and tables require special setting</h4>
+    <p>When using tooltips on elements within a <code>.btn-group</code>, <code>.input-group</code>, or <code>&lt;table&gt;</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip is triggered).</p>
   </div>
   <div class="bs-callout bs-callout-warning" id="callout-tooltip-hidden">
     <h4>Don't try to show tooltips on hidden elements</h4>