diff options
| author | geireann <geireann.lindfield@gmail.com> | 2022-02-15 22:08:11 +0000 |
|---|---|---|
| committer | geireann <geireann.lindfield@gmail.com> | 2022-02-15 22:08:11 +0000 |
| commit | 4bfb29f72fe3a78e7a2781035f3c23b04ddaaa25 (patch) | |
| tree | 9e488da3a2da3c62896c4f6deb7379aa27c56a15 /src/client/views/collections/CollectionStackingView.tsx | |
| parent | 7d5974c871fd50ed521ff8edd624c2c252553444 (diff) | |
Revert "fixed broken import"
This reverts commit 7d5974c871fd50ed521ff8edd624c2c252553444.
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 46cea5f78..cdc680a08 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -82,14 +82,12 @@ 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>; }); |
