aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-02-24 06:40:18 +0800
committerDan Finlay <dan@danfinlay.com>2017-02-24 06:40:18 +0800
commit1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf (patch)
tree38b019a6922cc542ec2599f2a1bfcd74dc6a9bf9 /ui
parent4697aca02c669b1787e72f0648b3043270867799 (diff)
downloadtangerine-wallet-browser-1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf.tar
tangerine-wallet-browser-1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf.tar.gz
tangerine-wallet-browser-1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf.tar.bz2
tangerine-wallet-browser-1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf.tar.lz
tangerine-wallet-browser-1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf.tar.xz
tangerine-wallet-browser-1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf.tar.zst
tangerine-wallet-browser-1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf.zip
Make personal sign view look nice
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-personal-msg-details.js21
1 files changed, 16 insertions, 5 deletions
diff --git a/ui/app/components/pending-personal-msg-details.js b/ui/app/components/pending-personal-msg-details.js
index 16308d121..ffd11ca0b 100644
--- a/ui/app/components/pending-personal-msg-details.js
+++ b/ui/app/components/pending-personal-msg-details.js
@@ -20,6 +20,8 @@ PendingMsgDetails.prototype.render = function () {
var identity = state.identities[address] || { address: address }
var account = state.accounts[address] || { address: address }
+ var { data } = msgParams
+
return (
h('div', {
key: msgData.id,
@@ -37,11 +39,20 @@ PendingMsgDetails.prototype.render = function () {
}),
// message data
- h('.tx-data.flex-column.flex-justify-center.flex-grow.select-none', [
- h('.flex-row.flex-space-between', [
- h('label.font-small', 'MESSAGE'),
- h('span.font-small', msgParams.data),
- ]),
+ h('div', [
+ h('label.font-small', { style: { display: 'block' } }, 'MESSAGE'),
+ h('textarea.font-small', {
+ readOnly: true,
+ style: {
+ width: '315px',
+ maxHeight: '210px',
+ resize: 'none',
+ border: 'none',
+ background: 'white',
+ padding: '3px',
+ },
+ defaultValue: data,
+ }),
]),
])