1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

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.error', warning),
h('p', confirmation), h('p', confirmation),
h('input#exportAccount', { h('input#exportAccount.sizing-input', {
onKeyPress: this.onExportKeyPress.bind(this), onKeyPress: this.onExportKeyPress.bind(this),
style: {
position: 'relative',
top: '1.5px',
}
}), }),
h('button', { h('button', {
onClick: () => this.onExportKeyPress({ key: 'Enter', preventDefault: () => {} }), onClick: () => this.onExportKeyPress({ key: 'Enter', preventDefault: () => {} }),

View File

@ -18,7 +18,7 @@ EditableLabel.prototype.render = function() {
if (state && state.isEditingLabel) { if (state && state.isEditingLabel) {
return h('div.editable-label', [ return h('div.editable-label', [
h('input.editable-input', { h('input.sizing-input', {
defaultValue: props.textValue, defaultValue: props.textValue,
onKeyPress:(event) => { onKeyPress:(event) => {
this.saveIfEnter(event) this.saveIfEnter(event)

View File

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