mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #807 from MetaMask/cssIsAwesome
Fix funny looking errors in conf-tx
This commit is contained in:
commit
115fdc36fe
@ -31,7 +31,7 @@ PendingTx.prototype.render = function () {
|
|||||||
`),
|
`),
|
||||||
|
|
||||||
txData.simulationFails ?
|
txData.simulationFails ?
|
||||||
h('span.error', {
|
h('.error', {
|
||||||
style: {
|
style: {
|
||||||
marginLeft: 50,
|
marginLeft: 50,
|
||||||
fontSize: '0.9em',
|
fontSize: '0.9em',
|
||||||
|
@ -170,6 +170,10 @@ function warningIfExists (warning) {
|
|||||||
if (warning &&
|
if (warning &&
|
||||||
// Do not display user rejections on this screen:
|
// Do not display user rejections on this screen:
|
||||||
warning.indexOf('User denied transaction signature') === -1) {
|
warning.indexOf('User denied transaction signature') === -1) {
|
||||||
return h('span.error', { style: { margin: 'auto' } }, warning)
|
return h('.error', {
|
||||||
|
style: {
|
||||||
|
margin: 'auto',
|
||||||
|
},
|
||||||
|
}, warning)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user