diff options
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/account-export.js | 6 | ||||
-rw-r--r-- | ui/app/components/editable-label.js | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ui/app/components/account-export.js b/ui/app/components/account-export.js index eab9baf65..e31951a7d 100644 --- a/ui/app/components/account-export.js +++ b/ui/app/components/account-export.js @@ -42,8 +42,12 @@ ExportAccountView.prototype.render = function() { }, [ h('p.error', warning), h('p', confirmation), - h('input#exportAccount', { + h('input#exportAccount.sizing-input', { onKeyPress: this.onExportKeyPress.bind(this), + style: { + position: 'relative', + top: '1.5px', + } }), h('button', { onClick: () => this.onExportKeyPress({ key: 'Enter', preventDefault: () => {} }), diff --git a/ui/app/components/editable-label.js b/ui/app/components/editable-label.js index c35f3261c..41c129d4e 100644 --- a/ui/app/components/editable-label.js +++ b/ui/app/components/editable-label.js @@ -18,7 +18,7 @@ EditableLabel.prototype.render = function() { if (state && state.isEditingLabel) { return h('div.editable-label', [ - h('input.editable-input', { + h('input.sizing-input', { defaultValue: props.textValue, onKeyPress:(event) => { this.saveIfEnter(event) @@ -30,7 +30,7 @@ EditableLabel.prototype.render = function() { ]) } else { - return h('div', { + return h('div.name-label', { onClick:(event) => { this.setState({ isEditingLabel: true }) }, |