From 5fd8ca9089aaaf9af2bf9282f3b95343db896eb9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jun 2014 10:50:54 -0700 Subject: [PATCH] fixes #13210: clean up tooltip example --- docs/examples/tooltip-viewport/index.html | 18 ++++++++---------- .../tooltip-viewport/tooltip-viewport.css | 16 +++++++--------- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/docs/examples/tooltip-viewport/index.html b/docs/examples/tooltip-viewport/index.html index dc0b47310e..ddeb70774a 100644 --- a/docs/examples/tooltip-viewport/index.html +++ b/docs/examples/tooltip-viewport/index.html @@ -32,21 +32,19 @@ - - - + + + -
There is a button down there ↓
- - +
- - + + - + - +
diff --git a/docs/examples/tooltip-viewport/tooltip-viewport.css b/docs/examples/tooltip-viewport/tooltip-viewport.css index b9a237cfcf..4eff7f6855 100644 --- a/docs/examples/tooltip-viewport/tooltip-viewport.css +++ b/docs/examples/tooltip-viewport/tooltip-viewport.css @@ -8,18 +8,16 @@ body { .tooltip .tooltip-inner { min-width: 250px; max-width: 500px; - min-height: 200px; -} -.placeholder { - height: 900px; + min-height: 100px; + text-align: left; } .container-viewport { position: absolute; - top: 600px; - left: 200px; - width: 600px; - height: 400px; - background: #c00; + top: 100px; + left: 250px; + right: 250px; + height: 300px; + background-color: #eee; } .btn-bottom { position: absolute;