From c725f6f572a31210a8ca1acf96329cdce8716932 Mon Sep 17 00:00:00 2001 From: Anthony Dresser Date: Wed, 10 Apr 2019 17:41:18 -0700 Subject: [PATCH] fix html structure of add account dialog (#4988) --- src/sql/platform/accounts/browser/autoOAuthDialog.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sql/platform/accounts/browser/autoOAuthDialog.ts b/src/sql/platform/accounts/browser/autoOAuthDialog.ts index 4ff7e65b1e..67e6bd54e5 100644 --- a/src/sql/platform/accounts/browser/autoOAuthDialog.ts +++ b/src/sql/platform/accounts/browser/autoOAuthDialog.ts @@ -83,9 +83,10 @@ export class AutoOAuthDialog extends Modal { } protected renderBody(container: HTMLElement) { - this._descriptionElement = append(container, $('.auto-oauth-description-section.new-section')); + const body = append(container, $('.auto-oauth-dialog')); + this._descriptionElement = append(body, $('.auto-oauth-description-section.new-section')); - const addAccountSection = append(container, $('.auto-oauth-info-section.new-section')); + const addAccountSection = append(body, $('.auto-oauth-info-section.new-section')); this._userCodeInputBox = this.createInputBoxHelper(addAccountSection, localize('userCode', 'User code')); this._websiteInputBox = this.createInputBoxHelper(addAccountSection, localize('website', 'Website')); }