mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Modified test views again. Added fixed length to center tx information.
This commit is contained in:
parent
ef8b6519b7
commit
570d560932
File diff suppressed because one or more lines are too long
@ -58,7 +58,7 @@
|
|||||||
"txParams": {
|
"txParams": {
|
||||||
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||||
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
||||||
"value": "0xde0b6b3a7640000",
|
"value": "0x66c899104aa57038000",
|
||||||
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
||||||
"metamaskId": 1467921503489592,
|
"metamaskId": 1467921503489592,
|
||||||
"metamaskNetworkId": "2"
|
"metamaskNetworkId": "2"
|
||||||
@ -72,7 +72,7 @@
|
|||||||
"txParams": {
|
"txParams": {
|
||||||
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||||
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
||||||
"value": "0xde0b6b3a7640000",
|
"value": "0x66c8104aa57038000",
|
||||||
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
||||||
"metamaskId": 1467923203344608,
|
"metamaskId": 1467923203344608,
|
||||||
"metamaskNetworkId": "2"
|
"metamaskNetworkId": "2"
|
||||||
|
@ -62,7 +62,7 @@ TransactionListItem.prototype.render = function () {
|
|||||||
: h(TransactionIcon, { txParams, transaction, isTx, isMsg }),
|
: h(TransactionIcon, { txParams, transaction, isTx, isMsg }),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
h('.flex-column', [
|
h('.flex-column', {style: {width: '200px', overflow: 'hidden'}}, [
|
||||||
domainField(txParams),
|
domainField(txParams),
|
||||||
h('div', date),
|
h('div', date),
|
||||||
recipientField(txParams, transaction, isTx, isMsg),
|
recipientField(txParams, transaction, isTx, isMsg),
|
||||||
@ -83,6 +83,9 @@ function domainField (txParams) {
|
|||||||
style: {
|
style: {
|
||||||
fontSize: 'x-small',
|
fontSize: 'x-small',
|
||||||
color: '#ABA9AA',
|
color: '#ABA9AA',
|
||||||
|
overflow: 'hidden',
|
||||||
|
textOverflow: 'ellipsis',
|
||||||
|
width: '100%',
|
||||||
},
|
},
|
||||||
}, [
|
}, [
|
||||||
txParams.origin,
|
txParams.origin,
|
||||||
|
@ -35,5 +35,6 @@ function rootReducer (state, action) {
|
|||||||
|
|
||||||
state.appState = reduceApp(state, action)
|
state.appState = reduceApp(state, action)
|
||||||
|
|
||||||
|
console.log(JSON.stringify(state, null, 2))
|
||||||
return state
|
return state
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user