From e9208be096e8193331b06e1738fd1d3e8afab025 Mon Sep 17 00:00:00 2001 From: Frankie Date: Sun, 12 Jun 2016 13:22:03 -0400 Subject: Size export confirmation input --- ui/app/components/account-export.js | 6 +++++- ui/app/components/editable-label.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'ui/app/components') 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 cdd0c4c10..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) -- cgit v1.2.3