From: Johann-S Date: Wed, 19 Apr 2017 08:59:10 +0000 (+0200) Subject: Fix some css for the arrow of Popover/Tooltip + update documentation X-Git-Tag: v4.0.0-beta~166^2~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc8b85b62670b8396cac7fb821c025c58fa77a78;p=thirdparty%2Fbootstrap.git Fix some css for the arrow of Popover/Tooltip + update documentation --- diff --git a/docs/components/popovers.md b/docs/components/popovers.md index 71d488fd41..9366ac1a1d 100644 --- a/docs/components/popovers.md +++ b/docs/components/popovers.md @@ -231,12 +231,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap template string - '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>' + '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'

Base HTML to use when creating the popover.

The popover's title will be injected into the .popover-title.

The popover's content will be injected into the .popover-content.

-

.popover-arrow will become the popover's arrow.

+

.arrow will become the popover's arrow.

The outermost wrapper element should have the .popover class.

diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index e8a7ce96fb..54f3c448f5 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -136,7 +136,7 @@ You should only add tooltips to HTML elements that are traditionally keyboard-fo