diff --git a/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css b/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css index a0aee618ab6..496b989268e 100644 --- a/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css +++ b/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css @@ -7,7 +7,8 @@ box-shadow: 0 0 8px 2px var(--vscode-widget-shadow); border: 1px solid var(--vscode-widget-border, transparent); border-radius: 4px; - background-color: var(--vscode-editorWidget-background); + color: var(--vscode-button-foreground); + background-color: var(--vscode-button-background); overflow: hidden; } @@ -18,7 +19,7 @@ } .post-edit-widget .monaco-button:hover { - background-color: var(--vscode-button-secondaryHoverBackground) !important; + background-color: var(--vscode-button-hoverBackground) !important; } .post-edit-widget .monaco-button .codicon { diff --git a/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.ts b/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.ts index 868cd81a0db..d2b9d962ac1 100644 --- a/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.ts +++ b/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.ts @@ -132,7 +132,9 @@ class PostEditWidget extends Dis }; }) ], { - onHide: () => { }, + onHide: () => { + this.editor.focus(); + }, onSelect: (item) => { this._actionWidgetService.hide(false);