infobox style (#23518)

* listbox

* select box

* fix tests

* one more test

* infobox style
This commit is contained in:
Alan Ren
2023-06-28 13:13:41 -07:00
committed by GitHub
parent 6dc1b9b905
commit 699aba4bc6
5 changed files with 32 additions and 59 deletions

View File

@@ -15,6 +15,7 @@ import { contrastBorder, editorWidgetBackground, foreground, listHoverBackground
import { IColorTheme, ICssStyleCollector, registerThemingParticipant } from 'vs/platform/theme/common/themeService';
import { QueryResultsView } from 'sql/workbench/contrib/query/browser/queryResultsView';
import { Disposable } from 'vs/base/common/lifecycle';
import { defaultInfoBoxStyles } from 'sql/platform/theme/browser/defaultStyles';
export class ExecutionPlanFileView extends Disposable {
private _parent: HTMLElement;
@@ -94,7 +95,7 @@ export class ExecutionPlanFileView extends Disposable {
this._loadingSpinner.loadingCompletedMessage = localize('executionPlanFileLoadingComplete', "Execution plans are generated");
} catch (e) {
this._loadingErrorInfoBox = this._register(this.instantiationService.createInstance(InfoBox, this._container, {
this._loadingErrorInfoBox = this._register(this.instantiationService.createInstance(InfoBox, this._container, defaultInfoBoxStyles, {
text: e.toString(),
style: 'error',
isClickable: false