]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: Set the top position of the menu so that the menu doesn't affect layout...
authorScott González <scott.gonzalez@gmail.com>
Thu, 11 Oct 2012 23:06:54 +0000 (19:06 -0400)
committerScott González <scott.gonzalez@gmail.com>
Thu, 11 Oct 2012 23:06:54 +0000 (19:06 -0400)
themes/base/jquery.ui.autocomplete.css

index 499d2e3ae63484f81ee1334ff009b642fa105002..05ae3108f12a26ab21f74d48e1d8d18b99d44098 100644 (file)
@@ -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 */