Skip to content

Commit 9a3a6ae

Browse files
author
Joe Crick
committed
(master): Add documentation
1 parent 97561fa commit 9a3a6ae

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed

index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,17 @@ <h2 class="content-subhead">Tooltip</h2>
704704
<p>All around the mulberry bush, the Plunky chased the Sneezle</p>
705705
</div>
706706
</div>
707+
708+
<div style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><pre style="margin: 0; line-height: 125%">
709+
&lt;div class=<span style="color: #a31515">&quot;tooltip&quot;</span>&gt;
710+
&lt;span class=<span style="color: #a31515">&quot;tooltip-target&quot;</span>&gt;Hover Me.&lt;/span&gt;
711+
&lt;div class=<span style="color: #a31515">&quot;tooltip-body&quot;</span>&gt;
712+
&lt;p&gt;All around the mulberry bush, the Plunky chased the Sneezle&lt;/p&gt;
713+
&lt;/div&gt;
714+
&lt;/div&gt;
715+
</pre></div>
716+
717+
707718
</div>
708719

709720
<div class="footer">

main.css

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/tooltip.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
.tooltip {
44
display: inline-block;
5-
position: absolute;
65

76
@media @small-device {
87
min-width: 0;

src/layout.less

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@ body {
2525
border: 1px solid green;
2626
}
2727

28-
.tooltip-body {
29-
margin-top: -100px;
30-
margin-left: 100px;
28+
.tooltip {
29+
margin-bottom: 30px;
30+
31+
.tooltip-body {
32+
margin-top: -90px;
33+
margin-left: 100px;
34+
}
35+
3136
}
3237

3338
}

0 commit comments

Comments
 (0)