diff options
| author | madelinegr <laura_wilson@brown.edu> | 2019-03-02 16:33:42 -0500 |
|---|---|---|
| committer | madelinegr <laura_wilson@brown.edu> | 2019-03-02 16:33:42 -0500 |
| commit | 043f40fec06da86732aeb6534d50edc56d4b8fad (patch) | |
| tree | fe8ba1113ad87cfd41d4641120ce78b9553c8239 /src/client/views/collections/CollectionViewBase.tsx | |
| parent | 33809739a0a24a256d6a1b30bf237fc8bd749db3 (diff) | |
| parent | bde8aabad7e5745b4797e73b564e4efb19faeca9 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into treeview
Diffstat (limited to 'src/client/views/collections/CollectionViewBase.tsx')
| -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; |
