aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-05-14 07:31:49 +0800
committerkumavis <aaron@kumavis.me>2016-05-14 07:31:49 +0800
commitb8ad7f2cb141e0888505109d8a5a44b93efc19a3 (patch)
tree02f203adbca46b6b18e398c1ee968d1ad94af78d /ui/app/components
parent46f1ab8b4826678241f94f8d9b5fac4f55fc09f4 (diff)
downloadtangerine-wallet-browser-b8ad7f2cb141e0888505109d8a5a44b93efc19a3.tar
tangerine-wallet-browser-b8ad7f2cb141e0888505109d8a5a44b93efc19a3.tar.gz
tangerine-wallet-browser-b8ad7f2cb141e0888505109d8a5a44b93efc19a3.tar.bz2
tangerine-wallet-browser-b8ad7f2cb141e0888505109d8a5a44b93efc19a3.tar.lz
tangerine-wallet-browser-b8ad7f2cb141e0888505109d8a5a44b93efc19a3.tar.xz
tangerine-wallet-browser-b8ad7f2cb141e0888505109d8a5a44b93efc19a3.tar.zst
tangerine-wallet-browser-b8ad7f2cb141e0888505109d8a5a44b93efc19a3.zip
ui - fix account-export margin
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/account-export.js35
1 files changed, 22 insertions, 13 deletions
diff --git a/ui/app/components/account-export.js b/ui/app/components/account-export.js
index f79a533ba..bdfa4c15f 100644
--- a/ui/app/components/account-export.js
+++ b/ui/app/components/account-export.js
@@ -31,19 +31,28 @@ ExportAccountView.prototype.render = function() {
and you should only do it if you know what you're doing.`
var confirmation = `If you're absolutely sure, type "I understand" below and
submit.`
- return h('div', { key: 'exporting' }, [
- h('p.error', warning),
- h('p', confirmation),
- h('input#exportAccount', {
- onKeyPress: this.onExportKeyPress.bind(this),
- }),
- h('button', {
- onClick: () => this.onExportKeyPress({ key: 'Enter', preventDefault: () => {} }),
- }, 'Submit'),
- h('button', {
- onClick: () => this.props.dispatch(actions.backToAccountDetail(this.props.address))
- }, 'Cancel'),
- ])
+ return (
+
+ h('div', {
+ key: 'exporting',
+ style: {
+ margin: '0 20px',
+ },
+ }, [
+ h('p.error', warning),
+ h('p', confirmation),
+ h('input#exportAccount', {
+ onKeyPress: this.onExportKeyPress.bind(this),
+ }),
+ h('button', {
+ onClick: () => this.onExportKeyPress({ key: 'Enter', preventDefault: () => {} }),
+ }, 'Submit'),
+ h('button', {
+ onClick: () => this.props.dispatch(actions.backToAccountDetail(this.props.address))
+ }, 'Cancel'),
+ ])
+
+ )
}
if (accountExported) {