fix html structure of add account dialog (#4988)

This commit is contained in:
Anthony Dresser
2019-04-10 17:41:18 -07:00
committed by GitHub
parent 1870d83081
commit c725f6f572

View File

@@ -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'));
}