Fix funny looking errors in conf-tx

This commit is contained in:
Frankie 2016-11-10 22:13:30 -08:00
parent f88079c6b9
commit b60992b446
2 changed files with 5 additions and 2 deletions

View File

@ -31,7 +31,7 @@ PendingTx.prototype.render = function () {
`),
txData.simulationFails ?
h('span.error', {
h('.error', {
style: {
marginLeft: 50,
fontSize: '0.9em',

View File

@ -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)
}
}