Size export confirmation input

feature/default_network_editable
Frankie 9 years ago
parent ff2f5cd58a
commit e9208be096
  1. 6
      ui/app/components/account-export.js
  2. 2
      ui/app/components/editable-label.js
  3. 2
      ui/app/css/index.css

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

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

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

Loading…
Cancel
Save