From 877faaf09608fbb5f1ba9dd853959e7399893068 Mon Sep 17 00:00:00 2001 From: sdtsui Date: Mon, 21 Aug 2017 10:27:56 -0700 Subject: Integrate old QR component with new modal layout --- ui/app/components/modals/account-details-modal.js | 26 +++++++++++++---------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'ui/app/components/modals') diff --git a/ui/app/components/modals/account-details-modal.js b/ui/app/components/modals/account-details-modal.js index f7dcf26eb..e3d1bb26b 100644 --- a/ui/app/components/modals/account-details-modal.js +++ b/ui/app/components/modals/account-details-modal.js @@ -52,22 +52,26 @@ AccountDetailsModal.prototype.render = function () { h('div', {}, [ ]), - h('div', {}, [ - h(QrView, { - Qr: { - message: this.props.selectedIdentity.name, - data: this.props.selectedIdentity.address, - } - }, []), - ]), + h(QrView, { + Qr: { + message: this.props.selectedIdentity.name, + data: this.props.selectedIdentity.address, + } + }, []), h('div', {}, [ 'Account Display', ]), - h('div', {}, [ - 'divider', - ]), + // divider + h('div', { + style: { + width: '100%', + height: '1px', + margin: '10px 0px', + backgroundColor: '#D8D8D8', + } + }, []), h('div', {}, [ 'View aCcount on etherscan', -- cgit