diff options
author | bob <bcz@cs.brown.edu> | 2019-02-27 14:02:32 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-02-27 14:02:32 -0500 |
commit | 7fb76d3609a012e5cb6342872b66993771696996 (patch) | |
tree | 72f3e9a729f53d0624f285e74dd0c9bd62d35c67 /src | |
parent | ae1337e39bc2811e32bd5321bce708eda08fe62a (diff) |
gave html clippings a size
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionViewBase.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionViewBase.tsx b/src/client/views/collections/CollectionViewBase.tsx index 217536e2b..7067724c8 100644 --- a/src/client/views/collections/CollectionViewBase.tsx +++ b/src/client/views/collections/CollectionViewBase.tsx @@ -67,7 +67,7 @@ export class CollectionViewBase extends React.Component<SubCollectionViewProps> let html = e.dataTransfer.getData("text/html"); let text = e.dataTransfer.getData("text/plain"); if (html && html.indexOf("<img") != 0) { - let htmlDoc = Documents.HtmlDocument(html, { ...options }); + let htmlDoc = Documents.HtmlDocument(html, { ...options, width: 300, height: 300 }); htmlDoc.SetText(KeyStore.DocumentText, text); this.props.addDocument(htmlDoc); return; |