aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-07-21 13:28:25 -0400
committerbobzel <zzzman@gmail.com>2022-07-21 13:28:25 -0400
commit8f0752368e4c5831b909050940dff42171d51ae7 (patch)
tree0671a690c3470eefb51104af133b6dd5aa81337a /src/client/documents/Documents.ts
parent2c833fe4e7915b8219c6b48abb596e4359744750 (diff)
fixed undo for opening/closing sidebar for pdf/web/text. fixed lightboxview for pdf's with smaller heights.
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 ed4c99d70..51a9283f4 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -465,7 +465,7 @@ export namespace Docs {
DocumentType.AUDIO,
{
layout: { view: AudioBox, dataField: defaultDataKey },
- options: { _height: 100, backgroundColor: 'lightGray', forceReflow: true, nativeDimModifiable: true, links: '@links(self)' },
+ options: { _height: 100, backgroundColor: 'lightGray', _fitWidth: true, forceReflow: true, nativeDimModifiable: true, links: '@links(self)' },
},
],
[