diff options
author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-09-02 01:36:15 -0500 |
---|---|---|
committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-09-02 01:36:15 -0500 |
commit | ccfcbd7394dc643babc390797ffc3bea71d9f84c (patch) | |
tree | 3eece607ab8ccb44423fc32f80a76bb97640c8fa | |
parent | 06b54eb074814a0ead9b89e9143872c7f92361da (diff) |
got rid of layout check
-rw-r--r-- | src/client/views/ContextMenuItem.tsx | 2 | ||||
-rw-r--r-- | src/client/views/PropertiesView.tsx | 8 |
2 files changed, 1 insertions, 9 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>; diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 1768b5c41..7f075d2cd 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -900,14 +900,6 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { </div> {!this.openSharing ? (null) : <div className="propertiesView-sharing-content"> - <div className="propertiesView-acls-checkbox"> - <Checkbox - color="primary" - onChange={action(() => this.layoutDocAcls = !this.layoutDocAcls)} - checked={this.layoutDocAcls} - />; - <div className="propertiesView-acls-checkbox-text">Layout</div> - </div> {this.sharingTable} {/* <div className="change-buttons"> <button |