Skip to content
Permalink
Browse files

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
  • Loading branch information
jzaefferer committed Mar 22, 2010
1 parent 7e79eee commit e7c2eb42d08c5ee7b444c3c0274758df46202dfb
Showing with 10 additions and 6 deletions.
  1. +10 −5 tests/visual/menu/nested.html
  2. +0 −1 themes/base/jquery.ui.autocomplete.css
@@ -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");
})
@@ -20,7 +20,6 @@
.ui-menu .ui-menu-item {
margin:0;
padding: 0;
width: 100%;
}
.ui-menu .ui-menu-item a {
text-decoration:none;

0 comments on commit e7c2eb4

Please sign in to comment.
You can’t perform that action at this time.