From: jzaefferer Date: Mon, 22 Mar 2010 20:44:32 +0000 (+0100) Subject: Remove width:100%; from menu-item styles (was there for icon-support, which was dropp... X-Git-Tag: 1.8.1~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e7c2eb42d08c5ee7b444c3c0274758df46202dfb;p=jquery-ui.git Remove width:100%; from menu-item styles (was there for icon-support, which was dropped); also fixed the nested-menu visual test to position properly in IE6 --- diff --git a/tests/visual/menu/nested.html b/tests/visual/menu/nested.html index a332e2440..96a0379d3 100644 --- a/tests/visual/menu/nested.html +++ b/tests/visual/menu/nested.html @@ -106,11 +106,16 @@ $("button").click(function(event) { // TODO required to prevent the click handler below from handling this event event.stopPropagation(); - nestedmenu.nestedmenu("show").position({ - my: "left top", - at: "right top", - of: event.pageX > 0 ? event : this - }); + nestedmenu.nestedmenu("show") + .css({ + top: 0, + left: 0 + }) + .position({ + my: "left top", + at: "right top", + of: this + }); $(document).one("click", function() { nestedmenu.nestedmenu("hide"); }) diff --git a/themes/base/jquery.ui.autocomplete.css b/themes/base/jquery.ui.autocomplete.css index bdd41e1b7..1263f935d 100644 --- a/themes/base/jquery.ui.autocomplete.css +++ b/themes/base/jquery.ui.autocomplete.css @@ -20,7 +20,6 @@ .ui-menu .ui-menu-item { margin:0; padding: 0; - width: 100%; } .ui-menu .ui-menu-item a { text-decoration:none;