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/PropertiesButtons.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/PropertiesButtons.tsx')
-rw-r--r-- | src/client/views/PropertiesButtons.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx index 85b4189e1..3352fbfff 100644 --- a/src/client/views/PropertiesButtons.tsx +++ b/src/client/views/PropertiesButtons.tsx @@ -153,7 +153,7 @@ export class PropertiesButtons extends React.Component<{}, {}> { e.preventDefault(); let googleDoc = await Cast(dataDoc.googleDoc, Doc); if (!googleDoc) { - const options = { _width: 600, _nativeWidth: 960, _nativeHeight: 800, isAnnotating: false, useCors: false }; + const options = { _width: 600, _fitWidth: true, _nativeWidth: 960, _nativeHeight: 800, isAnnotating: false, useCors: false }; googleDoc = Docs.Create.WebDocument(googleDocUrl, options); dataDoc.googleDoc = googleDoc; } |