From cedb3c7c56887d4ca42296ee193f2ff08dfe9ac4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 17 Sep 2012 23:03:18 -0700 Subject: fixes #5173: proper popover offsets; added docs examples to enable tests in the future --- docs/assets/css/bootstrap.css | 4 ++-- docs/javascript.html | 10 ++++++++++ docs/templates/pages/javascript.mustache | 10 ++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 201d1f842..0538e4b01 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -5109,7 +5109,7 @@ input[type="submit"].btn.btn-mini { } .popover.top { - margin-bottom: 10px; + margin-top: -10px; } .popover.right { @@ -5121,7 +5121,7 @@ input[type="submit"].btn.btn-mini { } .popover.left { - margin-right: 10px; + margin-left: -10px; } .popover-title { diff --git a/docs/javascript.html b/docs/javascript.html index a0c707b8d..6c028e01e 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -925,6 +925,16 @@ $('a[data-toggle="tab"]').on('shown', function (e) { Click to toggle popover +

Four directions

+
+ +
+
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 2cdb172db..b707ebe20 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -855,6 +855,16 @@ $('a[data-toggle="tab"]').on('shown', function (e) { {{_i}}Click to toggle popover{{/i}} +

{{_i}}Four directions{{/i}}

+
+ +
{{! /example }} +
-- cgit v1.2.3