Menu: float .ui-menu since all .ui-menu-item elements are floated. Fixes #5691 - wrong menu size calculation in webkit browsers (Autocomplete).

This commit is contained in:
Scott González 2010-07-19 11:22:32 -04:00
parent 44d1a38a19
commit a090faa833
3 changed files with 3 additions and 2 deletions

View File

@ -250,7 +250,7 @@
<a href="#">Go back</a>
</div>
<div class="ui-widget" style="margin-top:2em; font-family:Arial">
<div class="ui-widget" style="clear: left; margin-top:2em; font-family:Arial">
Log:
<div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
</div>

View File

@ -109,7 +109,7 @@
<li><a href="#">Amesville</a></li>
</ul>
<div class="ui-widget" style="margin-top:2em; font-family:Arial">
<div class="ui-widget" style="clear: left; margin-top:2em; font-family:Arial">
Log:
<div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
</div>

View File

@ -26,6 +26,7 @@
padding: 2px;
margin: 0;
display:block;
float: left;
}
.ui-menu .ui-menu {
margin-top: -3px;