Skip to content

Commit

Permalink
Remove width:100%; from menu-item styles (was there for icon-support,…
Browse files Browse the repository at this point in the history
… which was dropped); also fixed the nested-menu visual test to position properly in IE6
  • Loading branch information
jzaefferer committed Mar 22, 2010
1 parent 7e79eee commit e7c2eb4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
15 changes: 10 additions & 5 deletions tests/visual/menu/nested.html
Expand Up @@ -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");
})
Expand Down
1 change: 0 additions & 1 deletion themes/base/jquery.ui.autocomplete.css
Expand Up @@ -20,7 +20,6 @@
.ui-menu .ui-menu-item {
margin:0;
padding: 0;
width: 100%;
}
.ui-menu .ui-menu-item a {
text-decoration:none;
Expand Down

0 comments on commit e7c2eb4

Please sign in to comment.