mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
align the radio button with text (#3241)
This commit is contained in:
@@ -28,8 +28,11 @@ export class RadioButton extends Widget {
|
|||||||
super();
|
super();
|
||||||
this.inputElement = document.createElement('input');
|
this.inputElement = document.createElement('input');
|
||||||
this.inputElement.type = 'radio';
|
this.inputElement.type = 'radio';
|
||||||
|
this.inputElement.style.verticalAlign = 'middle';
|
||||||
|
this.inputElement.style.margin = '3px';
|
||||||
|
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user