diff --git a/src/app.js b/src/app.js
index be45a26415..3eb4c96352 100644
--- a/src/app.js
+++ b/src/app.js
@@ -221,10 +221,10 @@ function run () {
var unit = 'ether' // default
if (selectedUnit === 'ether') {
unit = 'ether'
- } else if (selectedUnit === 'microether') {
- unit = 'microether'
- } else if (selectedUnit === 'mwei') {
- unit = 'mwei'
+ } else if (selectedUnit === 'finney') {
+ unit = 'finney'
+ } else if (selectedUnit === 'gwei') {
+ unit = 'gwei'
} else if (selectedUnit === 'wei') {
unit = 'wei'
}
diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js
index ed3ea87993..90d4668e5a 100644
--- a/src/app/execution/txLogger.js
+++ b/src/app/execution/txLogger.js
@@ -20,6 +20,9 @@ var css = csjs`
align-items: end;
justify-content: space-between;
}
+ .txLog {
+ width: 75;
+ }
.tx {
color: ${styles.terminal.text_Title_TransactionLog};
font-weight: bold;
@@ -45,19 +48,16 @@ var css = csjs`
.buttons {
display: flex;
}
- .debug {
- ${styles.terminal.button_Log_Debug}
- }
- .details {
- ${styles.terminal.button_Log_Details}
- }
.debug, .details {
+ color: ${styles.terminal.link_Debug};
+ text-decoration: underline;
+ font-weight: bold;
min-height: 18px;
max-height: 18px;
- width: 45px;
- min-width: 45px;
- font-size: 10px;
+ width: 55px;
+ min-width: 55px;
margin-left: 5px;
+ cursor: pointer;
}
.clipboardCopy {
margin-right: 0.5em;
@@ -157,8 +157,8 @@ function renderKnownTransaction (self, data) {
${context(self, {from, to, data})}
@@ -206,10 +206,10 @@ function renderCall (self, data) {
var tx = yo`
-
[call] from:${from}, to:${to}, data:${input}, return:
+
[call] from:${from}, to:${to}, data:${input}, return:
${JSON.stringify(typeConversion.stringify(data.resolvedData.decodedReturnValue), null, '\t')}
@@ -253,8 +253,8 @@ function renderUnknownTransaction (self, data) {
${context(self, {from, to, data})}
@@ -284,7 +284,7 @@ function renderUnknownTransaction (self, data) {
}
function renderEmptyBlock (self, data) {
- return yo`[block:${data.block.number} - 0 transactions]`
+ return yo`[block:${data.block.number} - 0 transactions]`
}
function context (self, opts) {
@@ -300,13 +300,13 @@ function context (self, opts) {
var i = data.tx.transactionIndex
var value = val ? typeConversion.toInt(val) : 0
if (executionContext.getProvider() === 'vm') {
- return yo`[vm] from:${from}, to:${to}, value:${value} wei, data:${input}, ${logs} logs, hash:${hash}`
+ return yo`[vm] from:${from}, to:${to}, value:${value} wei, data:${input}, ${logs} logs, hash:${hash}`
} else if (executionContext.getProvider() !== 'vm' && data.resolvedData) {
- return yo`[block:${block} txIndex:${i}] from:${from}, to:${to}, value:${value} wei, ${logs} logs, data:${input}, hash:${hash}`
+ return yo`[block:${block} txIndex:${i}] from:${from}, to:${to}, value:${value} wei, ${logs} logs, data:${input}, hash:${hash}`
} else {
to = helper.shortenHexData(to)
hash = helper.shortenHexData(data.tx.blockHash)
- return yo`[block:${block} txIndex:${i}] from:${from}, to:${to}, value:${value} wei`
+ return yo`[block:${block} txIndex:${i}] from:${from}, to:${to}, value:${value} wei`
}
}
diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js
index bc19731aeb..4866b3f4e2 100644
--- a/src/app/tabs/run-tab.js
+++ b/src/app/tabs/run-tab.js
@@ -91,6 +91,7 @@ var css = csjs`
}
.contractNames {
${styles.rightPanel.runTab.dropdown_RunTab}
+ width: 100%;
}
.subcontainer {
display: flex;
@@ -274,8 +275,8 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {