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

Merge pull request #1942 from MetaMask/i1903-EthSignFormat

Fix "Eth Sign" format
This commit is contained in:
Thomas Huang 2017-08-17 15:52:39 -07:00 committed by GitHub
commit 31e5a4f050
3 changed files with 7 additions and 2 deletions

View File

@ -3,6 +3,8 @@
## Current Master ## Current Master
- Fix bug where some transaction submission errors would show an empty screen. - Fix bug where some transaction submission errors would show an empty screen.
- Fix formatting of eth_sign "Sign Message" view.
- Add deprecation warning to eth_sign "Sign Message" view.
## 3.9.8 2017-8-16 ## 3.9.8 2017-8-16

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),