aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-11 08:49:12 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-11 08:49:12 +0800
commit2346c9b6b9322458b350d5afd19501372272f0ec (patch)
tree847bc3c68862b4f90c235943ae9bbee29b99aec9 /ui
parent771f9ec124c758556ebba11067e66c9d4843455d (diff)
downloadtangerine-wallet-browser-2346c9b6b9322458b350d5afd19501372272f0ec.tar
tangerine-wallet-browser-2346c9b6b9322458b350d5afd19501372272f0ec.tar.gz
tangerine-wallet-browser-2346c9b6b9322458b350d5afd19501372272f0ec.tar.bz2
tangerine-wallet-browser-2346c9b6b9322458b350d5afd19501372272f0ec.tar.lz
tangerine-wallet-browser-2346c9b6b9322458b350d5afd19501372272f0ec.tar.xz
tangerine-wallet-browser-2346c9b6b9322458b350d5afd19501372272f0ec.tar.zst
tangerine-wallet-browser-2346c9b6b9322458b350d5afd19501372272f0ec.zip
Add overflow support for all account names in account details
Diffstat (limited to 'ui')
-rw-r--r--ui/app/account-detail.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index 22a883096..f6041e856 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -107,14 +107,23 @@ AccountDetailScreen.prototype.render = function () {
},
[
h(
- 'h2.font-medium.color-forest',
+ 'div.font-medium.color-forest',
{
name: 'edit',
style: {
},
},
[
- identity && identity.name,
+ h('h2', {
+ style: {
+ maxWidth: '180px',
+ overflowX: 'hidden',
+ textOverflow: 'ellipsis',
+ padding: '5px 0px',
+ },
+ }, [
+ identity && identity.name,
+ ]),
]
),
h(