Reposition context menu now that the styling is final

pull/21833/head
wmwragg 2016-07-27 18:14:46 +01:00
parent 46a643ac38
commit 867b14d2ca
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ module.exports = React.createClass({
var elementRect = e.target.getBoundingClientRect();
// The window X and Y offsets are to adjust position when zoomed in to page
var x = elementRect.right + window.pageXOffset;
var y = (elementRect.top + (elementRect.height / 2) + window.pageYOffset) - 43;
var y = (elementRect.top + (elementRect.height / 2) + window.pageYOffset) - 53;
var self = this;
ContextualMenu.createMenu(Menu, {
menuWidth: 188,