diff options
-rw-r--r-- | demos/autocomplete/categories.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html index cd4c2c05b..524f7b67a 100644 --- a/demos/autocomplete/categories.html +++ b/demos/autocomplete/categories.html @@ -10,7 +10,10 @@ <script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
-
+ .ui-autocomplete-category {
+ padding:.2em .4em;
+ line-height:1.5;
+ }
</style>
<script type="text/javascript">
$.each({
@@ -57,7 +60,7 @@ currentCategory = "";
$.each( items, function( index, item ) {
if ( item.category != currentCategory ) {
- ul.append( "<li class='category'>" + item.category + "</li>" );
+ ul.append( "<li class='ui-widget-header ui-autocomplete-category'>" + item.category + "</li>" );
currentCategory = item.category;
}
self._renderItem( ul, item );
|