From fcbb9d258ee8565877f3c2950c807f3512a449d0 Mon Sep 17 00:00:00 2001 From: Duke Pan Date: Wed, 16 Oct 2024 11:41:47 -0700 Subject: [PATCH] Add default background color for modal --- src/vs/workbench/browser/layout.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/browser/layout.ts b/src/vs/workbench/browser/layout.ts index 31d5e942b9984..ffa1107a22d48 100644 --- a/src/vs/workbench/browser/layout.ts +++ b/src/vs/workbench/browser/layout.ts @@ -1507,6 +1507,8 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi pearOverlayPartContainer.style.zIndex = "-10"; pearOverlayPartContainer.style.display = "absolute"; pearOverlayPartContainer.classList.add("pearoverlay-part-container"); + pearOverlayPartContainer.style.backgroundColor = 'var(--vscode-editor-background)'; + this.mainContainer.appendChild(pearOverlayPartContainer); // Initialize PearOverlayPart in this new container pearOverlayPart.create(pearOverlayPartContainer);