From e9208be096e8193331b06e1738fd1d3e8afab025 Mon Sep 17 00:00:00 2001 From: Frankie Date: Sun, 12 Jun 2016 13:22:03 -0400 Subject: [PATCH] Size export confirmation input --- ui/app/components/account-export.js | 6 +++++- ui/app/components/editable-label.js | 2 +- ui/app/css/index.css | 2 +- 3 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 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) diff --git a/ui/app/css/index.css b/ui/app/css/index.css index 1e59928d0..7055b0d5c 100644 --- a/ui/app/css/index.css +++ b/ui/app/css/index.css @@ -223,7 +223,7 @@ app sections padding: 8px;*/ } -.editable-input{ +.sizing-input{ font-size: 1em; height: 31px; }