mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Autocomplete: make categories work again (follow-up)
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
margin: .8em 0 .2em;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.ui-autocomplete li.ui-autocomplete-category {
|
||||
font-size: 1em;
|
||||
line-height: 1.5;
|
||||
margin: 0.5em 0 0 0;
|
||||
height: auto;
|
||||
border: 0;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$.widget( "custom.catcomplete", $.ui.autocomplete, {
|
||||
|
||||
2
themes/base/jquery.ui.autocomplete.css
vendored
2
themes/base/jquery.ui.autocomplete.css
vendored
@@ -9,7 +9,5 @@
|
||||
*/
|
||||
.ui-autocomplete { position: absolute; cursor: default; }
|
||||
|
||||
.ui-autocomplete li.ui-autocomplete-category { font-size: 1em; line-height: 1.5; margin: 0.5em 0 0 0; height: auto; border: 0; }
|
||||
|
||||
/* workarounds */
|
||||
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
||||
|
||||
Reference in New Issue
Block a user