Tooltip: Remove fixed with from tooltip theme, set in instead in CSS where actually necessary

This commit is contained in:
jzaefferer 2010-04-21 20:00:45 +02:00
parent 84e0ce168f
commit 19b76a14a8
3 changed files with 5 additions and 6 deletions

View File

@ -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 File

@ -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>

View File

@ -2,7 +2,6 @@
----------------------------------*/
.ui-tooltip {
padding:8px;
width:125px;
position:absolute;
z-index:9999;
-o-box-shadow: 0 0 5px #aaa;