From 1ee090ea9e03c800a764d992506869384409bdb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 11 Oct 2012 19:06:54 -0400 Subject: [PATCH] Autocomplete: Set the top position of the menu so that the menu doesn't affect layout. Fixes #8656 - Initial position of autocomplete is incorrect. --- themes/base/jquery.ui.autocomplete.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 */ -- 2.39.5