aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-05-06 04:27:00 +0800
committerDan Finlay <dan@danfinlay.com>2016-05-06 04:27:00 +0800
commitebb0aac7ddcc077a671390648231178b53801e53 (patch)
tree9a58a4bd5fc4e9c87c388cd9c2a8fc380453cc88 /ui
parente0a91c6fc915a495443821f5586216fe2a5e655c (diff)
downloadtangerine-wallet-browser-ebb0aac7ddcc077a671390648231178b53801e53.tar
tangerine-wallet-browser-ebb0aac7ddcc077a671390648231178b53801e53.tar.gz
tangerine-wallet-browser-ebb0aac7ddcc077a671390648231178b53801e53.tar.bz2
tangerine-wallet-browser-ebb0aac7ddcc077a671390648231178b53801e53.tar.lz
tangerine-wallet-browser-ebb0aac7ddcc077a671390648231178b53801e53.tar.xz
tangerine-wallet-browser-ebb0aac7ddcc077a671390648231178b53801e53.tar.zst
tangerine-wallet-browser-ebb0aac7ddcc077a671390648231178b53801e53.zip
Always show transaction list
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/transaction-list.js28
1 files changed, 10 insertions, 18 deletions
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))
])
})
- )
-
- ])
+ ]
+ )
}