From 570d5609323c9f9b6940c2c2279d9d13e3110c1e Mon Sep 17 00:00:00 2001 From: Kevin Serrano <kevgagser@gmail.com> Date: Thu, 7 Jul 2016 15:39:19 -0700 Subject: Modified test views again. Added fixed length to center tx information. --- ui/app/components/transaction-list-item.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ui/app/components') 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, -- cgit v1.2.3