From 744b78e9c8c032cdd13acf121f891c28f319ed4d Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Thu, 24 Aug 2017 21:55:27 -0230 Subject: Patch 2 account details modal (#1957) * Account details modal styling changes. * Tweaking styles. --- ui/app/components/modals/account-details-modal.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'ui/app/components/modals/account-details-modal.js') diff --git a/ui/app/components/modals/account-details-modal.js b/ui/app/components/modals/account-details-modal.js index cbddd0421..3ed702192 100644 --- a/ui/app/components/modals/account-details-modal.js +++ b/ui/app/components/modals/account-details-modal.js @@ -33,6 +33,9 @@ function AccountDetailsModal () { module.exports = connect(mapStateToProps, mapDispatchToProps)(AccountDetailsModal) +// Not yet pixel perfect todos: + // fonts of qr-header and close button + AccountDetailsModal.prototype.render = function () { const { selectedIdentity, selectedAddress, network } = this.props @@ -42,6 +45,7 @@ AccountDetailsModal.prototype.render = function () { h('div', {}, [ + // Needs a border; requires changes to svg h( Identicon, { @@ -53,12 +57,7 @@ AccountDetailsModal.prototype.render = function () { ]), - h('div', {}, [ - 'X', - ]), - - h('div', {}, [ - ]), + h('div.account-details-modal-close', {}), h(QrView, { Qr: { @@ -67,10 +66,6 @@ AccountDetailsModal.prototype.render = function () { } }, []), - h('div', {}, [ - 'Account Display', - ]), - // divider h('div.account-details-modal-divider', { style: {} -- cgit v1.2.3