From: Mark Otto Date: Sun, 15 Dec 2013 19:44:16 +0000 (-0800) Subject: Fixes #11833: add warning to docs for popover multiple line positioning; update it... X-Git-Tag: v3.1.0~148^2~6^2~4^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb3d9dfe8310a94a7b742ed62e088d64e93baba3;p=thirdparty%2Fbootstrap.git Fixes #11833: add warning to docs for popover multiple line positioning; update it's docs with example markup, too --- diff --git a/javascript.html b/javascript.html index ee83242454..76c9807ebf 100644 --- a/javascript.html +++ b/javascript.html @@ -906,8 +906,11 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { {% highlight html %} + + + {% endhighlight %} @@ -1170,6 +1173,29 @@ $('#myTooltip').on('hidden.bs.tooltip', function () { +{% highlight html %} + + + + + + + +{% endhighlight %} + +
+

Multiple-line links

+

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 white-space: nowrap; to your anchors to avoid this.

+

Usage