diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-11 19:06:54 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-11 19:06:54 -0400 |
commit | 1ee090ea9e03c800a764d992506869384409bdb6 (patch) | |
tree | b6e5ec1209617390d92efd7efe68fe01b8143e85 /themes | |
parent | 916c2252d75900a0efd35b3216c52070a0823a77 (diff) | |
download | jquery-ui-1ee090ea9e03c800a764d992506869384409bdb6.tar.gz jquery-ui-1ee090ea9e03c800a764d992506869384409bdb6.zip |
Autocomplete: Set the top position of the menu so that the menu doesn't affect layout. Fixes #8656 - Initial position of autocomplete is incorrect.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/jquery.ui.autocomplete.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/themes/base/jquery.ui.autocomplete.css b/themes/base/jquery.ui.autocomplete.css index 499d2e3ae..05ae3108f 100644 --- a/themes/base/jquery.ui.autocomplete.css +++ b/themes/base/jquery.ui.autocomplete.css @@ -8,7 +8,11 @@ * * http://docs.jquery.com/UI/Autocomplete#theming */ -.ui-autocomplete { position: absolute; cursor: default; } +.ui-autocomplete { + position: absolute; + top: 0; /* #8656 */ + cursor: default; +} /* workarounds */ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ |