diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-21 10:22:51 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-21 10:22:51 -0500 |
| commit | b3e2520f81a9956320b1aeba14ea880aa2887b15 (patch) | |
| tree | 68dc175c93454d0eb520852228bcb5b810890dba /src/client/views/nodes/LinkDocPreview.tsx | |
| parent | cfeaa00ebec604f69cf2559809ed19abe126411f (diff) | |
fixed fitWidth for WebBox
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)); |
