aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authoreleanor-park <eleanor_park@brown.edu>2025-01-09 11:19:31 -0500
committereleanor-park <eleanor_park@brown.edu>2025-01-09 11:19:31 -0500
commit51a9f85b4ddc38ac825efcefc0c6db23f3b9914e (patch)
tree80308028db74aff7eef2c2f0d74634098d8fef29 /src/client/views/nodes/DocumentView.tsx
parented9196dcf1b589be25ecd3924eb494ce710beed6 (diff)
added ai editor to collections
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 622eccc4f..d656bcf50 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -716,8 +716,8 @@ export class DocumentViewInternal extends DocComponent<FieldViewProps & Document
return this._props.styleProvider?.(doc, props, property);
};
- rpw = () => this._props.PanelWidth() * 0.6;
- rph = () => this.panelHeight() * 0.6;
+ rpw = () => this._props.PanelWidth() / 2;
+ rph = () => this.panelHeight() / 2;
@computed get viewBoxContents() {
TraceMobx();
const isInk = this.layoutDoc._layout_isSvg && !this._props.LayoutTemplateString;