mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Fix funny looking errors in conf-tx
This commit is contained in:
parent
f88079c6b9
commit
b60992b446
@ -31,7 +31,7 @@ PendingTx.prototype.render = function () {
|
||||
`),
|
||||
|
||||
txData.simulationFails ?
|
||||
h('span.error', {
|
||||
h('.error', {
|
||||
style: {
|
||||
marginLeft: 50,
|
||||
fontSize: '0.9em',
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user