From 72ddad6fc88fc7ee9ff99556f1aa64b21539bd03 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 27 Aug 2014 23:33:03 -0700 Subject: [PATCH] Fixes #14439: Add static tooltip example to docs --- docs/_includes/js/tooltips.html | 29 +++++++++++++++++++++++++++++ docs/assets/css/src/docs.css | 6 ++++++ 2 files changed, 35 insertions(+) diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 127e10155a..2165dddc7b 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -10,6 +10,35 @@

+

Static tooltip

+

Four options are available: top, right, bottom, and left aligned.

+
+ + + + +
+

Four directions

diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index 27467f30c5..0e43d1f55c 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -1102,6 +1102,12 @@ h1[id] { margin-top: 5px; margin-bottom: 5px; } +.bs-example-tooltip .tooltip { + position: relative; + display: inline-block; + margin: 10px 20px; + opacity: 1; +} /* Popovers */ .bs-example-popover {