src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.ts/DiffElementViewModelBase/_getOutputTotalHeight
class DiffElementViewModelBase:	private _getOutputTotalHeight(rawOutputHeight: number, metadataHeight: number) {
		if (this.outputFoldingState === PropertyFoldingState.Collapsed) {
			return 0;
		}

		if (this.renderOutput) {
			if (this.isOutputEmpty()) {
				// single line;
				return 24;
			}
			return this.getRichOutputTotalHeight() + metadataHeight;
		} else {
			return rawOutputHeight;
		}
	}