Skip to content

Commit db9a015

Browse files
committed
Autocomplete: make categories work again (follow-up)
1 parent 07d8d5c commit db9a015

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

demos/autocomplete/categories.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
margin: .8em 0 .2em;
1919
line-height: 1.5;
2020
}
21+
.ui-autocomplete li.ui-autocomplete-category {
22+
font-size: 1em;
23+
line-height: 1.5;
24+
margin: 0.5em 0 0 0;
25+
height: auto;
26+
border: 0;
27+
}
2128
</style>
2229
<script>
2330
$.widget( "custom.catcomplete", $.ui.autocomplete, {

themes/base/jquery.ui.autocomplete.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@
99
*/
1010
.ui-autocomplete { position: absolute; cursor: default; }
1111

12-
.ui-autocomplete li.ui-autocomplete-category { font-size: 1em; line-height: 1.5; margin: 0.5em 0 0 0; height: auto; border: 0; }
13-
1412
/* workarounds */
1513
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

0 commit comments

Comments
 (0)