Make transaction list and item more flexible.

feature/default_network_editable
Dan 7 years ago committed by Chi Kei Chan
parent 70557e0448
commit a67caee767
  1. 6
      old-ui/app/components/transaction-list-item.js
  2. 2
      old-ui/app/components/transaction-list.js

@ -56,6 +56,8 @@ TransactionListItem.prototype.render = function () {
}, },
style: { style: {
padding: '20px 0', padding: '20px 0',
display: 'flex',
justifyContent: 'space-between',
}, },
}, [ }, [
@ -74,12 +76,11 @@ TransactionListItem.prototype.render = function () {
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
padding: '10px',
}, },
}, nonce), }, nonce),
]), ]),
h('.flex-column', {style: {width: '200px', overflow: 'hidden'}}, [ h('.flex-column', {style: {width: '150px', overflow: 'hidden'}}, [
domainField(txParams), domainField(txParams),
h('div', date), h('div', date),
recipientField(txParams, transaction, isTx, isMsg), recipientField(txParams, transaction, isTx, isMsg),
@ -92,7 +93,6 @@ TransactionListItem.prototype.render = function () {
value: txParams.value, value: txParams.value,
conversionRate, conversionRate,
currentCurrency, currentCurrency,
width: '55px',
shorten: true, shorten: true,
showFiat: false, showFiat: false,
style: {fontSize: '15px'}, style: {fontSize: '15px'},

@ -44,7 +44,7 @@ TransactionList.prototype.render = function () {
style: { style: {
overflowY: 'auto', overflowY: 'auto',
height: '100%', height: '100%',
padding: '0 20px', padding: '0 25px 0 15px',
textAlign: 'center', textAlign: 'center',
}, },
}, [ }, [

Loading…
Cancel
Save