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/util/HypothesisUtils.ts | |
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/util/HypothesisUtils.ts')
-rw-r--r-- | src/client/util/HypothesisUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/HypothesisUtils.ts b/src/client/util/HypothesisUtils.ts index 8cb523093..f4cf336e2 100644 --- a/src/client/util/HypothesisUtils.ts +++ b/src/client/util/HypothesisUtils.ts @@ -21,7 +21,7 @@ export namespace Hypothesis { export const getSourceWebDoc = async (uri: string) => { const result = await findWebDoc(uri); console.log(result ? "existing doc found" : "existing doc NOT found"); - return result || Docs.Create.WebDocument(uri, { title: uri, _nativeWidth: 850, _height: 512, _width: 400, useCors: true }); // create and return a new Web doc with given uri if no matching docs are found + return result || Docs.Create.WebDocument(uri, { title: uri, _fitWidth: true, _nativeWidth: 850, _height: 512, _width: 400, useCors: true }); // create and return a new Web doc with given uri if no matching docs are found }; |