Autocomplete: make categories work again (follow-up)

This commit is contained in:
Felix Nagel
2012-05-24 19:58:09 +02:00
parent 07d8d5cbb1
commit db9a015485
2 changed files with 7 additions and 2 deletions

View File

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

View File

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