diff options
author | anika <anika.ahluwalia@gmail.com> | 2021-01-27 20:35:50 -0500 |
---|---|---|
committer | anika <anika.ahluwalia@gmail.com> | 2021-01-27 20:35:50 -0500 |
commit | 8a44fab7131c713937d92c2ac29265d4e2bd54d5 (patch) | |
tree | 74e24dddb475feb05a3dc71b1c10a9a56b65c623 /src/client/views/nodes/LinkDocPreview.tsx | |
parent | 7941773a61573db14cbf425d07ab0ff9b8ce5d33 (diff) | |
parent | e3db0536ad0086a328ee353be1c4dfd34ba03e02 (diff) |
Merge branch 'filters' of https://github.com/browngraphicslab/Dash-Web into filters
Diffstat (limited to 'src/client/views/nodes/LinkDocPreview.tsx')
-rw-r--r-- | src/client/views/nodes/LinkDocPreview.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkDocPreview.tsx b/src/client/views/nodes/LinkDocPreview.tsx index 07b2b6338..7934dba8e 100644 --- a/src/client/views/nodes/LinkDocPreview.tsx +++ b/src/client/views/nodes/LinkDocPreview.tsx @@ -76,7 +76,7 @@ export class LinkDocPreview extends React.Component<Props> { if (this.props.linkDoc && this.props.linkSrc) { LinkManager.FollowLink(this.props.linkDoc, this.props.linkSrc, this.props.docprops, false); } else if (this.props.href) { - this.props.docprops?.addDocTab(Docs.Create.WebDocument(this.props.href, { _fitWidth: true, title: this.props.href, _width: 200, _height: 400, useCors: true }), "add:right"); + this.props.docprops?.addDocTab(Docs.Create.WebDocument(this.props.href, { title: this.props.href, _width: 200, _height: 400, useCors: true }), "add:right"); } } width = () => Math.min(225, NumCast(this._targetDoc?.[WidthSym](), 225)); |