1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00

Merge pull request #807 from MetaMask/cssIsAwesome

Fix funny looking errors in conf-tx
This commit is contained in:
kumavis 2016-11-11 01:31:23 -05:00 committed by GitHub
commit 115fdc36fe
2 changed files with 6 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,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)
}
}