Commit 4c934a9b authored by amandaghassaei's avatar amandaghassaei

small change

parent 40d3ad0d
......@@ -546,7 +546,7 @@ label {
#contextMenuWrapper{
background-color: clear;
padding: 10px;
padding: 20px;
position: absolute;
z-index: 10;
display: none;
......
......@@ -32,7 +32,7 @@ define(['jquery', 'underscore', 'backbone', 'text!menus/contextMenu/CellContextM
showMenu: function(position){
var padding = parseInt($wrapper.css("padding"));
var left = position.x-padding;
var left = position.x;
if ($('body').width()-200 < left) left -= 200;
$wrapper.css({left:left, top: position.y-padding});
$wrapper.show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment