diff options
author | bobzel <zzzman@gmail.com> | 2022-06-06 14:39:37 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-06 14:39:37 -0400 |
commit | 5e1411f62d97e731d90753f7cd262da06a518505 (patch) | |
tree | 7a1ab97774362a576d2865f9206aa85453cf3696 | |
parent | 42c7ca38a77ede7171f628346117da191bbf115d (diff) |
fixed giving webDocuments a nativeWidth in link previews
-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 152288d8b..6c7e174f7 100644 --- a/src/client/views/nodes/LinkDocPreview.tsx +++ b/src/client/views/nodes/LinkDocPreview.tsx @@ -121,7 +121,7 @@ export class LinkDocPreview extends React.Component<LinkDocPreviewProps> { LinkDocPreview.Clear(); LinkManager.FollowLink(this._linkDoc, this._linkSrc, this.props.docProps, false); } else if (this.props.hrefs?.length) { - this.props.docProps?.addDocTab(Docs.Create.WebDocument(this.props.hrefs[0], { title: this.props.hrefs[0], _width: 200, _height: 400, useCors: true }), "add:right"); + this.props.docProps?.addDocTab(Docs.Create.WebDocument(this.props.hrefs[0], { title: this.props.hrefs[0], _nativeWidth: 850, _width: 200, _height: 400, useCors: true }), "add:right"); } } width = () => { |