mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-13 01:08:58 +01:00
Tooltips on <table>s should use container: body ; fixes #17809
This commit is contained in:
parent
d53525cc3e
commit
1d39f938bb
@ -19,8 +19,8 @@ $(function () {
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
</div>
|
</div>
|
||||||
<div class="bs-callout bs-callout-warning" id="callout-popover-groups">
|
<div class="bs-callout bs-callout-warning" id="callout-popover-groups">
|
||||||
<h4>Popovers in button groups and input groups require special setting</h4>
|
<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> 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>
|
<p>When using popovers on elements within a <code>.btn-group</code>, <code>.input-group</code>, or <code><table></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>
|
||||||
<div class="bs-callout bs-callout-warning" id="callout-popover-hidden">
|
<div class="bs-callout bs-callout-warning" id="callout-popover-hidden">
|
||||||
<h4>Don't try to show popovers on hidden elements</h4>
|
<h4>Don't try to show popovers on hidden elements</h4>
|
||||||
|
@ -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>
|
<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>
|
||||||
<div class="bs-callout bs-callout-warning" id="callout-tooltip-groups">
|
<div class="bs-callout bs-callout-warning" id="callout-tooltip-groups">
|
||||||
<h4>Tooltips in button groups and input groups require special setting</h4>
|
<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> 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>
|
<p>When using tooltips on elements within a <code>.btn-group</code>, <code>.input-group</code>, or <code><table></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>
|
||||||
<div class="bs-callout bs-callout-warning" id="callout-tooltip-hidden">
|
<div class="bs-callout bs-callout-warning" id="callout-tooltip-hidden">
|
||||||
<h4>Don't try to show tooltips on hidden elements</h4>
|
<h4>Don't try to show tooltips on hidden elements</h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user