src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.ts/DiffElementViewModelBase/estimateEditorHeight
class DiffElementViewModelBase:	private estimateEditorHeight(lineHeight: number | undefined = 20): number {
		const hasScrolling = false;
		const verticalScrollbarHeight = hasScrolling ? 12 : 0; // take zoom level into account
		// const editorPadding = this.viewContext.notebookOptions.computeEditorPadding(this.internalMetadata);
		const lineCount = Math.max(this.original?.textModel.textBuffer.getLineCount() ?? 1, this.modified?.textModel.textBuffer.getLineCount() ?? 1);
		return lineCount * lineHeight
			+ 24 // Top padding
			+ 12 // Bottom padding
			+ verticalScrollbarHeight;
	}