Size export confirmation input

This commit is contained in:
Frankie 2016-06-12 13:22:03 -04:00
parent ff2f5cd58a
commit e9208be096
3 changed files with 7 additions and 3 deletions

View File

@ -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: () => {} }),

View File

@ -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)

View File

@ -223,7 +223,7 @@ app sections
padding: 8px;*/
}
.editable-input{
.sizing-input{
font-size: 1em;
height: 31px;
}