1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix eth sign formatting

This commit is contained in:
Dan Finlay 2017-08-17 15:35:17 -07:00
parent 5f9862c89e
commit 98bedfabf9
2 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,7 @@ PendingMsgDetails.prototype.render = function () {
// message data // message data
h('.tx-data.flex-column.flex-justify-center.flex-grow.select-none', [ h('.tx-data.flex-column.flex-justify-center.flex-grow.select-none', [
h('.flex-row.flex-space-between', [ h('.flex-column.flex-space-between', [
h('label.font-small', 'MESSAGE'), h('label.font-small', 'MESSAGE'),
h('span.font-small', msgParams.data), h('span.font-small', msgParams.data),
]), ]),

View File

@ -18,6 +18,9 @@ PendingMsg.prototype.render = function () {
h('div', { h('div', {
key: msgData.id, key: msgData.id,
style: {
maxWidth: '350px',
},
}, [ }, [
// header // header
@ -35,7 +38,7 @@ PendingMsg.prototype.render = function () {
}, `Signing this message can have }, `Signing this message can have
dangerous side effects. Only sign messages from dangerous side effects. Only sign messages from
sites you fully trust with your entire account. sites you fully trust with your entire account.
This will be fixed in a future version.`), This dangerous method will be removed in a future version.`),
// message details // message details
h(PendingTxDetails, state), h(PendingTxDetails, state),