From 460ff235fa26834b35a99c1b71dd67cd6835e88a Mon Sep 17 00:00:00 2001 From: Johann-S Date: Tue, 23 May 2017 15:05:26 +0200 Subject: Documentation display tooltips/popovers arrows with css for static examples --- docs/components/popovers.md | 18 +++++++++--------- docs/components/tooltips.md | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) (limited to 'docs/components') diff --git a/docs/components/popovers.md b/docs/components/popovers.md index f984c76c6..4574197dd 100644 --- a/docs/components/popovers.md +++ b/docs/components/popovers.md @@ -56,32 +56,32 @@ $(function () { Four options are available: top, right, bottom, and left aligned.
-
-
+
+

Popover top

Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

-
-
+
+

Popover right

Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

-
-
+
+

Popover bottom

Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

-
-
+
+

Popover left

Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

@@ -234,7 +234,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap template string - '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>' + '<div class="popover" role="tooltip"><div class="arrow" x-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.

diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index 4cdcc190c..865e709e4 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -51,26 +51,26 @@ Hover over the links below to see tooltips: Four options are available: top, right, bottom, and left aligned.
-