mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Make transaction list and item more flexible.
This commit is contained in:
parent
70557e0448
commit
a67caee767
@ -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…
x
Reference in New Issue
Block a user