Display the context menu above and/or to the left of the click if needed (patch by Mike Duchene, closes #960).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1323 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-04-03 16:38:06 +00:00
parent 7f0aa56119
commit f6ce427a00
2 changed files with 66 additions and 9 deletions
+5 -5
View File
@@ -22,13 +22,13 @@
padding:1px;
z-index:9;
}
#context-menu li.folder ul {
position:absolute;
left:168px; /* IE6 */
top:-2px;
}
#context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; }
#context-menu li.folder>ul { left:148px; }
#context-menu.reverse-y li.folder>ul { top:auto; bottom:0; }
#context-menu.reverse-x li.folder ul { left:auto; right:168px; /* IE6 */ }
#context-menu.reverse-x li.folder>ul { right:148px; }
#context-menu a {
border:1px solid white;
text-decoration:none;