aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx-details.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-28 08:33:58 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-02-28 08:33:58 +0800
commit5d1a4db5e51158523c2c8f3979c91800ddfc041e (patch)
treecb774311f36633e2b81b07ad8afbed6d368f4db8 /ui/app/components/pending-tx-details.js
parent9e6e3f55b719b2b186a1e26f25f03d95f2b2fd96 (diff)
downloadtangerine-wallet-browser-5d1a4db5e51158523c2c8f3979c91800ddfc041e.tar.gz
tangerine-wallet-browser-5d1a4db5e51158523c2c8f3979c91800ddfc041e.tar.zst
tangerine-wallet-browser-5d1a4db5e51158523c2c8f3979c91800ddfc041e.zip
Further styling to get hex component working. Fix some typos.
Diffstat (limited to 'ui/app/components/pending-tx-details.js')
-rw-r--r--ui/app/components/pending-tx-details.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx-details.js b/ui/app/components/pending-tx-details.js
index 973f6ac92..65eb1d2af 100644
--- a/ui/app/components/pending-tx-details.js
+++ b/ui/app/components/pending-tx-details.js
@@ -138,12 +138,17 @@ PTXP.render = function () {
h('.cell.row', {
}, [
- h('.cell.label', 'Total Gas'),
+ h('.cell.label', 'Gas Limit'),
h('.cell.value', {
}, [
h(HexInput, {
value: gas,
+ suffix: 'UNITS',
+ style: {
+ position: 'relative',
+ top: '5px',
+ },
onChange: (newHex) => {
this.setState({ gas: newHex })
},
@@ -159,8 +164,13 @@ PTXP.render = function () {
}, [
h(HexInput, {
value: gasPrice,
+ suffix: 'WEI',
+ style: {
+ position: 'relative',
+ top: '5px',
+ },
onChange: (newHex) => {
- this.setState({ gas: newHex })
+ this.setState({ gasPrice: newHex })
},
}),
])