Skip to content

Commit 3e3d430

Browse files
committed
Revert "Autocomplete: make categories work again (follow-up)"
This reverts commit db9a015.
1 parent a0c18ea commit 3e3d430

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

demos/autocomplete/categories.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
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-
}
2821
</style>
2922
<script>
3023
$.widget( "custom.catcomplete", $.ui.autocomplete, {

themes/base/jquery.ui.autocomplete.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@
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+
1214
/* workarounds */
1315
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

0 commit comments

Comments
 (0)