aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authorGeireann <60007097+geireann@users.noreply.github.com>2022-02-15 13:41:48 -0500
committerGeireann <60007097+geireann@users.noreply.github.com>2022-02-15 13:41:48 -0500
commit7d5974c871fd50ed521ff8edd624c2c252553444 (patch)
tree34a5ad57b528d07f5131c92059dc1fb3c9a7140f /src/client/views/collections/CollectionStackingView.tsx
parent3405850fb254eb3de71e3c77f3f998edafe6a81f (diff)
fixed broken import
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index cdc680a08..46cea5f78 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -82,12 +82,14 @@ export class CollectionStackingView extends CollectionSubView<StackingDocument,
children = (docs: Doc[]) => {
TraceMobx();
this._docXfs.length = 0;
+ // Go through each of the documents that are contained
return docs.map((d, i) => {
const height = () => this.getDocHeight(d);
const width = () => this.getDocWidth(d);
const rowSpan = Math.ceil((height() + this.gridGap) / this.gridGap);
const style = this.isStackingView ? { width: width(), marginTop: i ? this.gridGap : 0, height: height() } : { gridRowEnd: `span ${rowSpan}` };
return <div className={`collectionStackingView-${this.isStackingView ? "columnDoc" : "masonryDoc"}`} key={d[Id]} style={style} >
+ <div className="test">OOPS</div>
{this.getDisplayDoc(d, width)}
</div>;
});