Permalink
Browse files

Tooltip: Remove fixed with from tooltip theme, set in instead in CSS …

…where actually necessary
  • Loading branch information...
1 parent 84e0ce1 commit 19b76a14a85c000996e22a6377ff86dc931bbc1e @jzaefferer jzaefferer committed Apr 21, 2010
Showing with 5 additions and 6 deletions.
  1. +3 −1 demos/tooltip/forms.html
  2. +2 −4 demos/tooltip/index.html
  3. +0 −1 themes/base/jquery.ui.tooltip.css
View
@@ -26,7 +26,7 @@
fieldset div {
margin-bottom: 2em;
}
- .ui-tooltip { width: 200px; }
+ .ui-tooltip { width: 210px; }
</style>
</head>
<body>
@@ -61,6 +61,8 @@
<p>Hover the questionmark-buttons or use the button below to display the help texts all at once. Click again to hide them.</p>
+<p>A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.</p>
+
</div><!-- End demo-description -->
View
@@ -10,10 +10,8 @@
<h4>Examples</h4>
<ul>
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
- <!--
- <li><a href="foo.html">Foo</a></li>
- <li><a href="bar.html">Bar</a></li>
- -->
+ <li><a href="forms.html">Forms with tooltips</a></li>
+ <li><a href="tracking.html">Track the mouse</a></li>
</ul>
</div>
@@ -2,7 +2,6 @@
----------------------------------*/
.ui-tooltip {
padding:8px;
- width:125px;
position:absolute;
z-index:9999;
-o-box-shadow: 0 0 5px #aaa;

0 comments on commit 19b76a1

Please sign in to comment.