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..8d23adfe5 100644 --- a/ui/app/conf-tx.js +++ b/ui/app/conf-tx.js @@ -170,6 +170,10 @@ 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) } }