From b60992b446098c035449bad9af7263b44d9719c6 Mon Sep 17 00:00:00 2001 From: Frankie Date: Thu, 10 Nov 2016 22:13:30 -0800 Subject: [PATCH 1/2] Fix funny looking errors in conf-tx --- ui/app/components/pending-tx.js | 2 +- ui/app/conf-tx.js | 5 ++++- 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) } } From b60f51dfc2d63bbb0cc8f255699e99ef5e1f0508 Mon Sep 17 00:00:00 2001 From: Frankie Date: Thu, 10 Nov 2016 22:20:58 -0800 Subject: [PATCH 2/2] lint fix --- ui/app/conf-tx.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js index d76231af5..8d23adfe5 100644 --- a/ui/app/conf-tx.js +++ b/ui/app/conf-tx.js @@ -173,6 +173,7 @@ function warningIfExists (warning) { return h('.error', { style: { margin: 'auto', - }}, warning) + }, + }, warning) } }