aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-06-02 18:48:39 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-06-02 18:48:39 +0530
commita7ce07aeb9ec2b3b418119d69c5551c688f5b343 (patch)
treecb803035e3237dd7aa09d0b1bd6fe03144d221d0
parent656fdf999b92e8579e303cc08e865427674c51c6 (diff)
fixed static flag bug
-rw-r--r--src/client/views/collections/collectionGrid/CollectionGridView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionGrid/CollectionGridView.tsx b/src/client/views/collections/collectionGrid/CollectionGridView.tsx
index 09cf66d5a..c56d6ee53 100644
--- a/src/client/views/collections/collectionGrid/CollectionGridView.tsx
+++ b/src/client/views/collections/collectionGrid/CollectionGridView.tsx
@@ -210,7 +210,7 @@ export class CollectionGridView extends CollectionSubView(GridSchema) {
const width = () => this.width(gridLayout);
const height = () => this.height(gridLayout);
collector.push(
- <div className={"document-wrapper"}
+ <div className={this.props.Document.flexGrid ? "document-wrapper" : "document-wrapper static"}
key={gridLayout.i}
>
{this.getDisplayDoc(layout, dxf, width, height)}