Skip to content

Commit 19b76a1

Browse files
committed
Tooltip: Remove fixed with from tooltip theme, set in instead in CSS where actually necessary
1 parent 84e0ce1 commit 19b76a1

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

demos/tooltip/forms.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
fieldset div {
2727
margin-bottom: 2em;
2828
}
29-
.ui-tooltip { width: 200px; }
29+
.ui-tooltip { width: 210px; }
3030
</style>
3131
</head>
3232
<body>
@@ -61,6 +61,8 @@
6161

6262
<p>Hover the questionmark-buttons or use the button below to display the help texts all at once. Click again to hide them.</p>
6363

64+
<p>A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.</p>
65+
6466
</div><!-- End demo-description -->
6567

6668

demos/tooltip/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
<h4>Examples</h4>
1111
<ul>
1212
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
13-
<!--
14-
<li><a href="foo.html">Foo</a></li>
15-
<li><a href="bar.html">Bar</a></li>
16-
-->
13+
<li><a href="forms.html">Forms with tooltips</a></li>
14+
<li><a href="tracking.html">Track the mouse</a></li>
1715
</ul>
1816
</div>
1917

themes/base/jquery.ui.tooltip.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
----------------------------------*/
33
.ui-tooltip {
44
padding:8px;
5-
width:125px;
65
position:absolute;
76
z-index:9999;
87
-o-box-shadow: 0 0 5px #aaa;

0 commit comments

Comments
 (0)