diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-06-01 20:45:42 +0530 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-06-01 20:45:42 +0530 |
| commit | eafb8ddc3bf65c828e7fc15fd9df1e64fa7a27f8 (patch) | |
| tree | 9fcf83c1c2ff6ff9ddc625dfc38a19756cfc7c36 /src/client/views/collections/collectionGrid/Grid.tsx | |
| parent | 79efbc8a35a51556a9199b6b48ecd98037cdbf67 (diff) | |
jsonified doc layout list
Diffstat (limited to 'src/client/views/collections/collectionGrid/Grid.tsx')
| -rw-r--r-- | src/client/views/collections/collectionGrid/Grid.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionGrid/Grid.tsx b/src/client/views/collections/collectionGrid/Grid.tsx index 0e9e8bbca..8f9bc9f46 100644 --- a/src/client/views/collections/collectionGrid/Grid.tsx +++ b/src/client/views/collections/collectionGrid/Grid.tsx @@ -19,6 +19,7 @@ interface GridProps { setLayout: Function; transformScale: number; childrenDraggable: boolean; + // flex: boolean; } /** @@ -49,12 +50,15 @@ export default class Grid extends React.Component<GridProps> { width={this.props.width} compactType={null} isDroppable={true} + // isDraggable={this.props.flex} + // isResizable={this.props.flex} // isDraggable={this.props.childrenDraggable} - // useCSSTransforms={true} + useCSSTransforms={true} margin={[10, 10]} onLayoutChange={this.onLayoutChange} preventCollision={false} // change this to true later - // transformScale={2} // 1.2/scale + // transformScale={2} // 1.2/scale + style={{ zIndex: 5 }} > {this.props.nodeList} </GridLayout > |
