diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-29 12:06:44 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-29 12:06:44 -0400 |
| commit | 732cc8c3aec072525535d246b1177181bbd3f7da (patch) | |
| tree | 0319adf3a98306b64155719cd467a84be2a18be7 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 7cd5d922930ba1eaed894c2b0a91e3edf4f08164 (diff) | |
improved stacking view and captions templates.
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index c4e72b23a..fe9e12640 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -212,7 +212,7 @@ export function CollectionSubView<T>(schemaCtor: (doc: Doc) => T) { }).then(async (res: Response) => { (await res.json()).map(action((file: any) => { let path = window.location.origin + file; - let docPromise = this.getDocumentFromType(type, path, { ...options, nativeWidth: 600, width: 300, title: dropFileName }); + let docPromise = this.getDocumentFromType(type, path, { ...options, nativeWidth: 300, width: 300, title: dropFileName }); docPromise.then(doc => doc && this.props.addDocument(doc)); })); |
