aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/tooltip-viewport
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/tooltip-viewport')
-rw-r--r--docs/examples/tooltip-viewport/index.html16
-rw-r--r--docs/examples/tooltip-viewport/tooltip-viewport.css6
2 files changed, 11 insertions, 11 deletions
diff --git a/docs/examples/tooltip-viewport/index.html b/docs/examples/tooltip-viewport/index.html
index 2f6d0dd38..4c08a336a 100644
--- a/docs/examples/tooltip-viewport/index.html
+++ b/docs/examples/tooltip-viewport/index.html
@@ -28,21 +28,21 @@
<body>
- <button class="btn pull-right tooltip-bottom", title="This should be shifted to the left">Shift Left</button>
- <button class="btn tooltip-bottom", title="This should be shifted to the right">Shift Right</button>
- <button class="btn tooltip-right", title="This should be shifted down">Shift Down</button>
+ <button class="btn pull-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
+ <button class="btn tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
+ <button class="btn tooltip-right" title="This should be shifted down">Shift Down</button>
<div class="placeholder">There is a button down there ↓</div>
- <button class="btn tooltip-right", title="This should be shifted up">Shift Up</button>
+ <button class="btn tooltip-right" title="This should be shifted up">Shift Up</button>
<div class="container-viewport">
- <button class="btn tooltip-viewport-bottom", title="This should be shifted to the left">Shift Left</button>
- <button class="btn tooltip-viewport-right", title="This should be shifted down">Shift Down</button>
+ <button class="btn tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
+ <button class="btn tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
- <button class="btn pull-right tooltip-viewport-bottom", title="This should be shifted to the right">Shift Right</button>
+ <button class="btn pull-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
- <button class="btn tooltip-viewport-right btn-bottom", title="This should be shifted up">Shift Up</button>
+ <button class="btn tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
</div>
diff --git a/docs/examples/tooltip-viewport/tooltip-viewport.css b/docs/examples/tooltip-viewport/tooltip-viewport.css
index 2d82e9b42..b9a237cfc 100644
--- a/docs/examples/tooltip-viewport/tooltip-viewport.css
+++ b/docs/examples/tooltip-viewport/tooltip-viewport.css
@@ -6,23 +6,23 @@ body {
max-width: 500px;
}
.tooltip .tooltip-inner {
- min-height: 200px;
min-width: 250px;
max-width: 500px;
+ min-height: 200px;
}
.placeholder {
height: 900px;
}
.container-viewport {
position: absolute;
- left: 200px;
top: 600px;
+ left: 200px;
width: 600px;
height: 400px;
background: #c00;
}
.btn-bottom {
position: absolute;
- left: 0;
bottom: 0;
+ left: 0;
}