Skip to content
Permalink
Browse files

Autocomplete: make categories work again (follow-up)

  • Loading branch information
fnagel committed May 24, 2012
1 parent 07d8d5c commit db9a015485f0a5dbbb12b22720dbb2111cda2dd8
Showing with 7 additions and 2 deletions.
  1. +7 −0 demos/autocomplete/categories.html
  2. +0 −2 themes/base/jquery.ui.autocomplete.css
@@ -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, {
@@ -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 */

2 comments on commit db9a015

@scottgonzalez

This comment has been minimized.

Copy link
Member

scottgonzalez replied May 24, 2012

This seems bad. We should change menu.

@kborchers

This comment has been minimized.

Copy link
Member

kborchers replied May 24, 2012

Agreed

Please sign in to comment.
You can’t perform that action at this time.