Positional tweaks for the name, badge and context menu, to better match design in both normal and collapsed states

pull/21833/head
wmwragg 2016-07-30 12:52:39 +01:00
parent 398e56c9f9
commit d16aa276e2
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ module.exports = React.createClass({
var Menu = sdk.getComponent('context_menus.NotificationStateContextMenu');
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 x = elementRect.right + window.pageXOffset + 3;
var y = (elementRect.top + (elementRect.height / 2) + window.pageYOffset) - 53;
var self = this;
ContextualMenu.createMenu(Menu, {