diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-11 15:45:06 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-11 15:45:06 +0800 |
commit | 663cb758b345d7138b9e9c68489e1859dbfaa78e (patch) | |
tree | 6f9e942b457f8c5ba6291c967de6c490a5b47d03 /ui/app/components/modals/account-details-modal.js | |
parent | 395e8bfce05d385eed233b82d6fc5771253c6509 (diff) | |
download | tangerine-wallet-browser-663cb758b345d7138b9e9c68489e1859dbfaa78e.tar tangerine-wallet-browser-663cb758b345d7138b9e9c68489e1859dbfaa78e.tar.gz tangerine-wallet-browser-663cb758b345d7138b9e9c68489e1859dbfaa78e.tar.bz2 tangerine-wallet-browser-663cb758b345d7138b9e9c68489e1859dbfaa78e.tar.lz tangerine-wallet-browser-663cb758b345d7138b9e9c68489e1859dbfaa78e.tar.xz tangerine-wallet-browser-663cb758b345d7138b9e9c68489e1859dbfaa78e.tar.zst tangerine-wallet-browser-663cb758b345d7138b9e9c68489e1859dbfaa78e.zip |
Style send token screen
Diffstat (limited to 'ui/app/components/modals/account-details-modal.js')
-rw-r--r-- | ui/app/components/modals/account-details-modal.js | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/ui/app/components/modals/account-details-modal.js b/ui/app/components/modals/account-details-modal.js index 838000fed..ec7e4b500 100644 --- a/ui/app/components/modals/account-details-modal.js +++ b/ui/app/components/modals/account-details-modal.js @@ -39,21 +39,17 @@ module.exports = connect(mapStateToProps, mapDispatchToProps)(AccountDetailsModa AccountDetailsModal.prototype.render = function () { const { selectedIdentity, network } = this.props - return h('div', {}, [ - h('div.account-details-modal-wrapper', { - }, [ + return h('div', { style: { borderRadius: '4px' }}, [ + h('div.account-details-modal-wrapper', [ - h('div', {}, [ + h('div', [ // Needs a border; requires changes to svg - h( - Identicon, - { - address: selectedIdentity.address, - diameter: 64, - style: {}, - }, - ), + h(Identicon, { + address: selectedIdentity.address, + diameter: 64, + style: {}, + }), ]), @@ -66,26 +62,20 @@ AccountDetailsModal.prototype.render = function () { message: this.props.selectedIdentity.name, data: this.props.selectedIdentity.address, }, - }, []), + }), // divider - h('div.account-details-modal-divider', { - style: {}, - }, []), + h('div.account-details-modal-divider'), h('button.btn-clear', { onClick: () => { const url = genAccountLink(selectedIdentity.address, network) global.platform.openWindow({ url }) }, - }, [ - 'View account on Etherscan', - ]), + }, [ 'View account on Etherscan' ]), // Holding on redesign for Export Private Key functionality - h('button.btn-clear', {}, [ - 'Export private key', - ]), + h('button.btn-clear', [ 'Export private key' ]), ]), ]) |