src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.ts/Widget/_getMaxWidth
class Widget:	private _getMaxWidth(): number {
		return (
			this.allowEditorOverflow
				? window.innerWidth || document.documentElement!.offsetWidth || document.body.offsetWidth
				: this._contentWidth
		);
	}