From 867b14d2cacd6db7eb5a1e1404b40081d44eb836 Mon Sep 17 00:00:00 2001 From: wmwragg Date: Wed, 27 Jul 2016 18:14:46 +0100 Subject: [PATCH] Reposition context menu now that the styling is final --- src/components/views/rooms/RoomTile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/RoomTile.js b/src/components/views/rooms/RoomTile.js index 1f77c6a110..a0af243ea4 100644 --- a/src/components/views/rooms/RoomTile.js +++ b/src/components/views/rooms/RoomTile.js @@ -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,