diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js
index 54d4405a7c..62b95c6aa4 100644
--- a/src/app/execution/txLogger.js
+++ b/src/app/execution/txLogger.js
@@ -64,19 +64,8 @@ var css = csjs`
.txTable, .tr, .td {
border-collapse: collapse;
font-size: 10px;
- }
- .tr {
- width: 70%;
- border-bottom: 1px solid white;
- display: flex;
- align-items: center;
- }
- .td:first-child {
- min-width: 30%;
- width: 30%;
- display: flex;
- align-items: baseline;
- font-weight: bold;
+ color: ${styles.terminal.text_Primary};
+ border: 1px solid ${styles.terminal.text_Secondary};
}
#txTable {
margin-top: 1%;
@@ -85,6 +74,7 @@ var css = csjs`
width: 85%;
}
.tr, .td {
+ padding: 4px;
vertical-align: baseline;
}
.td:first-child {
@@ -394,10 +384,9 @@ function createTable (opts) {
var contractAddress = yo`
- contractAddress
- ${copyToClipboard(() => opts.contractAddress)}
- |
+ contractAddress |
${opts.contractAddress}
+ ${copyToClipboard(() => opts.contractAddress)}
|
`
@@ -405,10 +394,9 @@ function createTable (opts) {
var from = yo`
- from
- ${copyToClipboard(() => opts.from)}
- |
+ from |
${opts.from}
+ ${copyToClipboard(() => opts.from)}
|
`
@@ -423,10 +411,9 @@ function createTable (opts) {
}
var to = yo`
- to
- ${copyToClipboard(() => data.to ? data.to : toHash)}
- |
+ to |
${toHash}
+ ${copyToClipboard(() => data.to ? data.to : toHash)}
|
`
@@ -434,10 +421,9 @@ function createTable (opts) {
var gas = yo`
- gas
- ${copyToClipboard(() => opts.gas)}
- |
+ gas |
${opts.gas} gas
+ ${copyToClipboard(() => opts.gas)}
|
`
@@ -450,10 +436,9 @@ function createTable (opts) {
if (opts.transactionCost) {
table.appendChild(yo`
- transaction cost
- ${copyToClipboard(() => opts.transactionCost)}
- |
+ transaction cost |
${opts.transactionCost} gas ${callWarning}
+ ${copyToClipboard(() => opts.transactionCost)}
|
`)
}
@@ -461,20 +446,18 @@ function createTable (opts) {
if (opts.executionCost) {
table.appendChild(yo`
- execution cost
- ${copyToClipboard(() => opts.executionCost)}
- |
+ execution cost |
${opts.executionCost} gas ${callWarning}
+ ${copyToClipboard(() => opts.executionCost)}
|
`)
}
var hash = yo`
- hash
- ${copyToClipboard(() => opts.hash)}
- |
+ hash |
${opts.hash}
+ ${copyToClipboard(() => opts.hash)}
|
`
@@ -482,10 +465,9 @@ function createTable (opts) {
var input = yo`
- input
- ${copyToClipboard(() => opts.input)}
- |
+ input |
${opts.input}
+ ${copyToClipboard(() => opts.input)}
|
`
@@ -494,10 +476,9 @@ function createTable (opts) {
if (opts['decoded input']) {
var inputDecoded = yo`
- decoded input
- ${copyToClipboard(opts['decoded input'])}
- |
+ decoded input |
${opts['decoded input']}
+ ${copyToClipboard(opts['decoded input'])}
|
`
table.appendChild(inputDecoded)
@@ -518,12 +499,11 @@ function createTable (opts) {
}
var logs = yo`
- logs
- ${copyToClipboard(() => JSON.stringify(stringified, null, '\t'))}
- ${copyToClipboard(() => JSON.stringify(opts.logs.raw || '0'))}
- |
+ logs |
${JSON.stringify(stringified, null, '\t')}
+ ${copyToClipboard(() => JSON.stringify(stringified, null, '\t'))}
+ ${copyToClipboard(() => JSON.stringify(opts.logs.raw || '0'))}
|
`
@@ -532,10 +512,9 @@ function createTable (opts) {
var val = opts.val != null ? typeConversion.toInt(opts.val) : 0
val = yo`
- value
- ${copyToClipboard(() => `${val} wei`)}
- |
+ value |
${val} wei
+ ${copyToClipboard(() => `${val} wei`)}
|
`