提交 d9696f04 编写于 作者: R rebornix

Fix ##93727.

上级 490d77cd
......@@ -175,7 +175,7 @@ export class BackLayerWebView extends Disposable {
type: 'dimension',
id: id,
data: {
height: entry.contentRect.height + ${outputNodePadding}
height: entry.contentRect.height + ${outputNodePadding} * 2
}
});
}
......
......@@ -110,7 +110,7 @@ export class CodeCellViewModel extends BaseCellViewModel implements ICellViewMod
const outputTotalHeight = this._outputsTop!.getTotalValue();
const totalHeight = EDITOR_TOOLBAR_HEIGHT + this.editorHeight + EDITOR_TOP_MARGIN + outputTotalHeight + BOTTOM_CELL_TOOLBAR_HEIGHT;
const indicatorHeight = this.editorHeight + outputTotalHeight;
const outputContainerOffset = EDITOR_TOOLBAR_HEIGHT + this.editorHeight;
const outputContainerOffset = EDITOR_TOOLBAR_HEIGHT + EDITOR_TOP_MARGIN + this.editorHeight;
const bottomToolbarOffset = totalHeight - BOTTOM_CELL_TOOLBAR_HEIGHT;
const editorWidth = state.outerWidth !== undefined ? state.outerWidth - CELL_MARGIN * 2 - CELL_RUN_GUTTER : 0;
this._layoutInfo = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册