mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 18:46:34 -05:00
introduce fieldset component (#23005)
This commit is contained in:
@@ -223,12 +223,13 @@ export abstract class Modal extends Disposable implements IThemable {
|
||||
}
|
||||
this._bodyContainer.style.top = `${top}px`;
|
||||
this._modalDialog = DOM.append(this._bodyContainer, DOM.$('.modal-dialog'));
|
||||
const formElement = DOM.append(this._modalDialog, DOM.$('form'));
|
||||
|
||||
if (this._modalOptions.dialogStyle === 'callout') {
|
||||
let arrowClass = `.callout-arrow.from-${this._modalOptions.dialogPosition}`;
|
||||
this._modalContent = DOM.append(this._modalDialog, DOM.$(`.modal-content${arrowClass}`));
|
||||
this._modalContent = DOM.append(formElement, DOM.$(`.modal-content${arrowClass}`));
|
||||
} else {
|
||||
this._modalContent = DOM.append(this._modalDialog, DOM.$('.modal-content'));
|
||||
this._modalContent = DOM.append(formElement, DOM.$('.modal-content'));
|
||||
}
|
||||
|
||||
if (typeof this._modalOptions.width === 'number') {
|
||||
|
||||
Reference in New Issue
Block a user