aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-11-11 14:13:30 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-11-11 14:13:30 +0800
commitb60992b446098c035449bad9af7263b44d9719c6 (patch)
tree23120887b2e3ddcf2752b1050137b35a5562159a /ui
parentf88079c6b9c0e7bf5d7765f8ea8471b64624d8d0 (diff)
downloadtangerine-wallet-browser-b60992b446098c035449bad9af7263b44d9719c6.tar
tangerine-wallet-browser-b60992b446098c035449bad9af7263b44d9719c6.tar.gz
tangerine-wallet-browser-b60992b446098c035449bad9af7263b44d9719c6.tar.bz2
tangerine-wallet-browser-b60992b446098c035449bad9af7263b44d9719c6.tar.lz
tangerine-wallet-browser-b60992b446098c035449bad9af7263b44d9719c6.tar.xz
tangerine-wallet-browser-b60992b446098c035449bad9af7263b44d9719c6.tar.zst
tangerine-wallet-browser-b60992b446098c035449bad9af7263b44d9719c6.zip
Fix funny looking errors in conf-tx
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx.js2
-rw-r--r--ui/app/conf-tx.js5
2 files changed, 5 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index b619020d1..96f968929 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -31,7 +31,7 @@ PendingTx.prototype.render = function () {
`),
txData.simulationFails ?
- h('span.error', {
+ h('.error', {
style: {
marginLeft: 50,
fontSize: '0.9em',
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index f4ca52860..d76231af5 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -170,6 +170,9 @@ function warningIfExists (warning) {
if (warning &&
// Do not display user rejections on this screen:
warning.indexOf('User denied transaction signature') === -1) {
- return h('span.error', { style: { margin: 'auto' } }, warning)
+ return h('.error', {
+ style: {
+ margin: 'auto',
+ }}, warning)
}
}