Revert "Autocomplete: make categories work again (follow-up)"

This reverts commit db9a015485.
This commit is contained in:
Scott González 2012-05-24 15:01:09 -04:00
parent a0c18ea250
commit 3e3d4308d7
2 changed files with 2 additions and 7 deletions

View File

@ -18,13 +18,6 @@
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,5 +9,7 @@
*/
.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 */