aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/ContextMenuItem.tsx
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-09-02 01:36:15 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-09-02 01:36:15 -0500
commitccfcbd7394dc643babc390797ffc3bea71d9f84c (patch)
tree3eece607ab8ccb44423fc32f80a76bb97640c8fa /src/client/views/ContextMenuItem.tsx
parent06b54eb074814a0ead9b89e9143872c7f92361da (diff)
got rid of layout check
Diffstat (limited to 'src/client/views/ContextMenuItem.tsx')
-rw-r--r--src/client/views/ContextMenuItem.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/ContextMenuItem.tsx b/src/client/views/ContextMenuItem.tsx
index 7277c589d..eddecb7a7 100644
--- a/src/client/views/ContextMenuItem.tsx
+++ b/src/client/views/ContextMenuItem.tsx
@@ -103,7 +103,7 @@ export class ContextMenuItem extends React.Component<ContextMenuProps & { select
const submenu = !this.overItem ? (null) :
<div className="contextMenu-subMenu-cont"
style={{
- marginLeft: window.innerHeight - this._overPosX - 70 > 0 ? "90%" : "20%", marginTop
+ marginLeft: window.innerHeight - this._overPosX - 50 > 0 ? "90%" : "20%", marginTop
}}>
{this._items.map(prop => <ContextMenuItem {...prop} key={prop.description} closeMenu={this.props.closeMenu} />)}
</div>;