mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
make checkbox vertically aligned and remove the x scroll for modaldialog (#3005)
This commit is contained in:
@@ -27,6 +27,7 @@ export class Checkbox extends Widget {
|
|||||||
|
|
||||||
this._el = document.createElement('input');
|
this._el = document.createElement('input');
|
||||||
this._el.type = 'checkbox';
|
this._el.type = 'checkbox';
|
||||||
|
this._el.style.verticalAlign = 'middle';
|
||||||
|
|
||||||
if (opts.ariaLabel) {
|
if (opts.ariaLabel) {
|
||||||
this._el.setAttribute('aria-label', opts.ariaLabel);
|
this._el.setAttribute('aria-label', opts.ariaLabel);
|
||||||
@@ -44,6 +45,7 @@ export class Checkbox extends Widget {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this._label = document.createElement('span');
|
this._label = document.createElement('span');
|
||||||
|
this._label.style.verticalAlign = 'middle';
|
||||||
|
|
||||||
this.label = opts.label;
|
this.label = opts.label;
|
||||||
this.enabled = opts.enabled || true;
|
this.enabled = opts.enabled || true;
|
||||||
|
|||||||
@@ -21,7 +21,8 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: scroll;
|
overflow-x: hidden;
|
||||||
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialogModal-hidden {
|
.dialogModal-hidden {
|
||||||
|
|||||||
Reference in New Issue
Block a user