diff options
author | bobzel <zzzman@gmail.com> | 2020-09-12 01:20:40 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-12 01:20:40 -0400 |
commit | d82e04a294a9af164de0c1e46b864a69422e65cc (patch) | |
tree | eb195f94803b9e15dd37d87fb8a762b33779494a /src/client/views/PreviewCursor.tsx | |
parent | dc5b4599577629bff8f8960cf13237389cc71dc2 (diff) |
changd web pages to be fitWidth and added a data-contentWidth field so that you can extend them vertically, or add a margin horizontally.
Diffstat (limited to 'src/client/views/PreviewCursor.tsx')
-rw-r--r-- | src/client/views/PreviewCursor.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PreviewCursor.tsx b/src/client/views/PreviewCursor.tsx index 1cadba18a..0a4d46c1f 100644 --- a/src/client/views/PreviewCursor.tsx +++ b/src/client/views/PreviewCursor.tsx @@ -52,7 +52,7 @@ export class PreviewCursor extends React.Component<{}> { else if (re.test(plain)) { const url = plain; undoBatch(() => PreviewCursor._addDocument(Docs.Create.WebDocument(url, { - title: url, _width: 500, _height: 300, useCors: true, x: newPoint[0], y: newPoint[1] + title: url, _fitWidth: true, _width: 500, _height: 300, useCors: true, x: newPoint[0], y: newPoint[1] })))(); } else if (plain.startsWith("__DashDocId(") || plain.startsWith("__DashCloneId(")) { |