mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +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": {
|
||||
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
||||
"value": "0xde0b6b3a7640000",
|
||||
"value": "0x66c899104aa57038000",
|
||||
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
||||
"metamaskId": 1467921503489592,
|
||||
"metamaskNetworkId": "2"
|
||||
@ -72,7 +72,7 @@
|
||||
"txParams": {
|
||||
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
||||
"value": "0xde0b6b3a7640000",
|
||||
"value": "0x66c8104aa57038000",
|
||||
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
||||
"metamaskId": 1467923203344608,
|
||||
"metamaskNetworkId": "2"
|
||||
|
@ -62,7 +62,7 @@ TransactionListItem.prototype.render = function () {
|
||||
: h(TransactionIcon, { txParams, transaction, isTx, isMsg }),
|
||||
]),
|
||||
|
||||
h('.flex-column', [
|
||||
h('.flex-column', {style: {width: '200px', overflow: 'hidden'}}, [
|
||||
domainField(txParams),
|
||||
h('div', date),
|
||||
recipientField(txParams, transaction, isTx, isMsg),
|
||||
@ -83,6 +83,9 @@ function domainField (txParams) {
|
||||
style: {
|
||||
fontSize: 'x-small',
|
||||
color: '#ABA9AA',
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
width: '100%',
|
||||
},
|
||||
}, [
|
||||
txParams.origin,
|
||||
|
@ -35,5 +35,6 @@ function rootReducer (state, action) {
|
||||
|
||||
state.appState = reduceApp(state, action)
|
||||
|
||||
console.log(JSON.stringify(state, null, 2))
|
||||
return state
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user