diff options
author | eleanor-park <eleanor_park@brown.edu> | 2025-01-07 20:31:56 -0500 |
---|---|---|
committer | eleanor-park <eleanor_park@brown.edu> | 2025-01-07 20:31:56 -0500 |
commit | f5ee4974ab41af5b473aa94332ccdd6449db074f (patch) | |
tree | 4896749d9f7d4aa1f31388bf194478af445e4f54 /src/client/views/nodes/DocumentView.tsx | |
parent | f273c97121300eb9b242f7272cc1cc56c396ca8b (diff) |
imagebox now has basic ai functionalities
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index f79eadde8..622eccc4f 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -750,7 +750,7 @@ export class DocumentViewInternal extends DocComponent<FieldViewProps & Document /> </div> {this._showAIEditor && ( - <div className="documentView-editorView-history" style={{ height: this.rph(), width: this.rpw() / 2 }}> + <div className="documentView-editorView-history" style={{ height: this.rph(), width: (this._props.PanelWidth() - this.rpw()) / 2 }}> {this._componentView?.componentAIViewHistory?.() ?? null} </div> )} |