aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-07-08 06:39:19 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-07-08 06:39:19 +0800
commit570d5609323c9f9b6940c2c2279d9d13e3110c1e (patch)
tree5d5b42435d7ff017ab6ec8c6af2166fcc92159bf /ui
parentef8b6519b76d0e2be098e0c4a750ddf7ca9efc50 (diff)
downloadtangerine-wallet-browser-570d5609323c9f9b6940c2c2279d9d13e3110c1e.tar.gz
tangerine-wallet-browser-570d5609323c9f9b6940c2c2279d9d13e3110c1e.tar.zst
tangerine-wallet-browser-570d5609323c9f9b6940c2c2279d9d13e3110c1e.zip
Modified test views again. Added fixed length to center tx information.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/transaction-list-item.js5
-rw-r--r--ui/app/reducers.js1
2 files changed, 5 insertions, 1 deletions
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js
index 0cd2f32a7..21394c652 100644
--- a/ui/app/components/transaction-list-item.js
+++ b/ui/app/components/transaction-list-item.js
@@ -62,7 +62,7 @@ TransactionListItem.prototype.render = function () {
: h(TransactionIcon, { txParams, transaction, isTx, isMsg }),
]),
- h('.flex-column', [
+ h('.flex-column', {style: {width: '200px', overflow: 'hidden'}}, [
domainField(txParams),
h('div', date),
recipientField(txParams, transaction, isTx, isMsg),
@@ -83,6 +83,9 @@ function domainField (txParams) {
style: {
fontSize: 'x-small',
color: '#ABA9AA',
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
+ width: '100%',
},
}, [
txParams.origin,
diff --git a/ui/app/reducers.js b/ui/app/reducers.js
index 9243ddba4..f8b192af3 100644
--- a/ui/app/reducers.js
+++ b/ui/app/reducers.js
@@ -35,5 +35,6 @@ function rootReducer (state, action) {
state.appState = reduceApp(state, action)
+ console.log(JSON.stringify(state, null, 2))
return state
}