diff options
author | Felix Nagel <info@felixnagel.com> | 2012-05-24 19:58:09 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-05-24 19:58:09 +0200 |
commit | db9a015485f0a5dbbb12b22720dbb2111cda2dd8 (patch) | |
tree | e47d50283dd1dc9df0f1c418a3833945b78e77d8 | |
parent | 07d8d5cbb1e20521f2ec55145ce45d08d8ee5a1f (diff) | |
download | jquery-ui-db9a015485f0a5dbbb12b22720dbb2111cda2dd8.tar.gz jquery-ui-db9a015485f0a5dbbb12b22720dbb2111cda2dd8.zip |
Autocomplete: make categories work again (follow-up)
-rw-r--r-- | demos/autocomplete/categories.html | 7 | ||||
-rw-r--r-- | themes/base/jquery.ui.autocomplete.css | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html index 3489f56b1..be59bfaca 100644 --- a/demos/autocomplete/categories.html +++ b/demos/autocomplete/categories.html @@ -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, { diff --git a/themes/base/jquery.ui.autocomplete.css b/themes/base/jquery.ui.autocomplete.css index da2032943..5e331b63d 100644 --- a/themes/base/jquery.ui.autocomplete.css +++ b/themes/base/jquery.ui.autocomplete.css @@ -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 */ |