diff options
author | Dan <danjm.com@gmail.com> | 2017-12-09 02:50:15 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-12-13 04:31:52 +0800 |
commit | a67caee76705de4d7b4d6c0129773f975719eaf1 (patch) | |
tree | ae9b90569d7977c8422b6af5ee768a73f99f703c | |
parent | 70557e0448a89f5d04be15b7f8152bd398273dbe (diff) | |
download | tangerine-wallet-browser-a67caee76705de4d7b4d6c0129773f975719eaf1.tar tangerine-wallet-browser-a67caee76705de4d7b4d6c0129773f975719eaf1.tar.gz tangerine-wallet-browser-a67caee76705de4d7b4d6c0129773f975719eaf1.tar.bz2 tangerine-wallet-browser-a67caee76705de4d7b4d6c0129773f975719eaf1.tar.lz tangerine-wallet-browser-a67caee76705de4d7b4d6c0129773f975719eaf1.tar.xz tangerine-wallet-browser-a67caee76705de4d7b4d6c0129773f975719eaf1.tar.zst tangerine-wallet-browser-a67caee76705de4d7b4d6c0129773f975719eaf1.zip |
Make transaction list and item more flexible.
-rw-r--r-- | old-ui/app/components/transaction-list-item.js | 6 | ||||
-rw-r--r-- | old-ui/app/components/transaction-list.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/old-ui/app/components/transaction-list-item.js b/old-ui/app/components/transaction-list-item.js index 891d5e227..76a456d3f 100644 --- a/old-ui/app/components/transaction-list-item.js +++ b/old-ui/app/components/transaction-list-item.js @@ -56,6 +56,8 @@ TransactionListItem.prototype.render = function () { }, style: { padding: '20px 0', + display: 'flex', + justifyContent: 'space-between', }, }, [ @@ -74,12 +76,11 @@ TransactionListItem.prototype.render = function () { flexDirection: 'column', alignItems: 'center', justifyContent: 'center', - padding: '10px', }, }, nonce), ]), - h('.flex-column', {style: {width: '200px', overflow: 'hidden'}}, [ + h('.flex-column', {style: {width: '150px', overflow: 'hidden'}}, [ domainField(txParams), h('div', date), recipientField(txParams, transaction, isTx, isMsg), @@ -92,7 +93,6 @@ TransactionListItem.prototype.render = function () { value: txParams.value, conversionRate, currentCurrency, - width: '55px', shorten: true, showFiat: false, style: {fontSize: '15px'}, diff --git a/old-ui/app/components/transaction-list.js b/old-ui/app/components/transaction-list.js index 69b72614c..345e3ca16 100644 --- a/old-ui/app/components/transaction-list.js +++ b/old-ui/app/components/transaction-list.js @@ -44,7 +44,7 @@ TransactionList.prototype.render = function () { style: { overflowY: 'auto', height: '100%', - padding: '0 20px', + padding: '0 25px 0 15px', textAlign: 'center', }, }, [ |