aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx.js2
-rw-r--r--ui/app/conf-tx.js6
2 files changed, 6 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..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)
}
}