1
0
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:
Kevin Serrano 2016-07-07 15:39:19 -07:00
parent ef8b6519b7
commit 570d560932
4 changed files with 8 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -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"

View File

@ -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,

View File

@ -35,5 +35,6 @@ function rootReducer (state, action) {
state.appState = reduceApp(state, action)
console.log(JSON.stringify(state, null, 2))
return state
}