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:
parent
ff2f5cd58a
commit
e9208be096
@ -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…
Reference in New Issue
Block a user