aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/import/private-key.js
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-02-01 05:41:13 +0800
committerAlexander Tseung <alextsg@users.noreply.github.com>2018-02-01 05:41:13 +0800
commit971112d413fd30ee1607a0516c1b030976067db8 (patch)
treecd1e671e0ec79425f0b42dba0d31e6f58c85cdd5 /ui/app/accounts/import/private-key.js
parent83784451127e7d0985c0d955f9ce6fbbbbfbcb83 (diff)
downloadtangerine-wallet-browser-971112d413fd30ee1607a0516c1b030976067db8.tar.gz
tangerine-wallet-browser-971112d413fd30ee1607a0516c1b030976067db8.tar.zst
tangerine-wallet-browser-971112d413fd30ee1607a0516c1b030976067db8.zip
[NewUI] Updates capitalization and alignment for the import account screen. (#3122)
* Updates capitalization and alignment for the import account screen. * Align elements in import form.
Diffstat (limited to 'ui/app/accounts/import/private-key.js')
-rw-r--r--ui/app/accounts/import/private-key.js19
1 files changed, 12 insertions, 7 deletions
diff --git a/ui/app/accounts/import/private-key.js b/ui/app/accounts/import/private-key.js
index 43afbca87..12f3a6430 100644
--- a/ui/app/accounts/import/private-key.js
+++ b/ui/app/accounts/import/private-key.js
@@ -32,15 +32,20 @@ PrivateKeyImportView.prototype.render = function () {
return (
h('div.new-account-import-form__private-key', [
- h('span.new-account-create-form__instruction', 'Paste your private key string here:'),
- h('input.new-account-import-form__input-password', {
- type: 'password',
- id: 'private-key-box',
- onKeyPress: () => this.createKeyringOnEnter(),
- }),
+ h('div.new-account-import-form__private-key-password-container', [
- h('div.new-account-create-form__buttons', {}, [
+ h('span.new-account-import-form__instruction', 'Paste your private key string here:'),
+
+ h('input.new-account-import-form__input-password', {
+ type: 'password',
+ id: 'private-key-box',
+ onKeyPress: () => this.createKeyringOnEnter(),
+ }),
+
+ ]),
+
+ h('div.new-account-import-form__buttons', {}, [
h('button.new-account-create-form__button-cancel', {
onClick: () => goHome(),