mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tooltip: Remove fixed with from tooltip theme, set in instead in CSS where actually necessary
This commit is contained in:
parent
84e0ce168f
commit
19b76a14a8
@ -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 -->
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
1
themes/base/jquery.ui.tooltip.css
vendored
1
themes/base/jquery.ui.tooltip.css
vendored
@ -2,7 +2,6 @@
|
||||
----------------------------------*/
|
||||
.ui-tooltip {
|
||||
padding:8px;
|
||||
width:125px;
|
||||
position:absolute;
|
||||
z-index:9999;
|
||||
-o-box-shadow: 0 0 5px #aaa;
|
||||
|
Loading…
Reference in New Issue
Block a user