mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
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:
parent
44d1a38a19
commit
a090faa833
@ -250,7 +250,7 @@
|
|||||||
<a href="#">Go back</a>
|
<a href="#">Go back</a>
|
||||||
</div>
|
</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:
|
Log:
|
||||||
<div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
|
<div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -109,7 +109,7 @@
|
|||||||
<li><a href="#">Amesville</a></li>
|
<li><a href="#">Amesville</a></li>
|
||||||
</ul>
|
</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:
|
Log:
|
||||||
<div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
|
<div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
|
||||||
</div>
|
</div>
|
||||||
|
1
themes/base/jquery.ui.autocomplete.css
vendored
1
themes/base/jquery.ui.autocomplete.css
vendored
@ -26,6 +26,7 @@
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display:block;
|
display:block;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
.ui-menu .ui-menu {
|
.ui-menu .ui-menu {
|
||||||
margin-top: -3px;
|
margin-top: -3px;
|
||||||
|
Loading…
Reference in New Issue
Block a user