aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-09-12 13:32:35 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-09-12 13:32:35 -0700
commit1508c81e2193f54da586f30da6f547bb1b89f976 (patch)
tree6d5629e0a8b245d7625d466915ae5309265414fb /src/client/documents/Documents.ts
parentd5e6a9c5d57b7c3315fb71f25eff8f883cc687ef (diff)
parent93b72ab7818e48592e9d42d092fa91b4ebedd49e (diff)
pull
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index e3ab914ff..8fe55b9a6 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -1052,7 +1052,7 @@ export namespace DocUtils {
});
}
ctor = Docs.Create.WebDocument;
- options = { ...options, _nativeWidth: 850, _width: 400, _height: 512, title: path, };
+ options = { ...options, _fitWidth: true, _nativeWidth: 850, _width: 400, _height: 512, title: path, };
}
return ctor ? ctor(path, options) : undefined;
}