From ebb0aac7ddcc077a671390648231178b53801e53 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 5 May 2016 13:27:00 -0700 Subject: Always show transaction list --- ui/app/components/transaction-list.js | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) (limited to 'ui/app') diff --git a/ui/app/components/transaction-list.js b/ui/app/components/transaction-list.js index 90f2955e6..115fd91f8 100644 --- a/ui/app/components/transaction-list.js +++ b/ui/app/components/transaction-list.js @@ -4,23 +4,16 @@ const addressSummary = require('../util').addressSummary const explorerLink = require('../../lib/explorer-link') module.exports = function(transactions, network) { - return h('details', { key: 'transaction-list' }, [ + return h('.tx-list', { + style: { + overflowY: 'auto', + height: '180px', + textAlign: 'center', + }, + }, - h('summary', [ + [ h('div.font-small', {style: {display: 'inline'}}, 'Transactions'), - ]), - - h('.flex-row.flex-space-around', [ - h('div.font-small','To'), - h('div.font-small','Amount'), - ]), - - h('.tx-list', { - style: { - overflowY: 'auto', - height: '180px', - }, - }, transactions.map((transaction) => { return h('.tx.flex-row.flex-space-around', [ @@ -33,7 +26,6 @@ module.exports = function(transactions, network) { h('div.font-small', formatBalance(transaction.txParams.value)) ]) }) - ) - - ]) + ] + ) } -- cgit