diff options
| author | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-16 01:34:12 +0800 |
|---|---|---|
| committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-16 01:34:12 +0800 |
| commit | 87aa11c70be1ae0270c69adc0c1e0219f79ce820 (patch) | |
| tree | 4e64347d6f521d48f9a62e943cb10773fb4efecf /src/client/views/presentationview/PresElementBox.tsx | |
| parent | 9599e4e21c2b0809460c9f94005d55caea65410e (diff) | |
uploader + menu changes
image upload w/ video and other files
menu updates
Diffstat (limited to 'src/client/views/presentationview/PresElementBox.tsx')
| -rw-r--r-- | src/client/views/presentationview/PresElementBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/presentationview/PresElementBox.tsx b/src/client/views/presentationview/PresElementBox.tsx index caee06d8f..793d4068f 100644 --- a/src/client/views/presentationview/PresElementBox.tsx +++ b/src/client/views/presentationview/PresElementBox.tsx @@ -49,7 +49,7 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps, PresDoc componentDidMount() { this._heightDisposer = reaction(() => [this.rootDoc.presExpandInlineButton, this.collapsedHeight], - params => this.layoutDoc._height = NumCast(params[1]) + (Number(params[0]) ? 100 : 0), { fireImmediately: true }); + params => this.layoutDoc._height = NumCast(params[1]) + (Number(params[0]) ? 200 : 0), { fireImmediately: true }); } componentWillUnmount() { this._heightDisposer?.(); |
