aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/account-detail.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-08-12 00:50:05 +0800
committerGitHub <noreply@github.com>2017-08-12 00:50:05 +0800
commit3b1ac178ef5e085bfa40706c5e628204bcc0c17b (patch)
tree724d3872e9163d1ac7c22c443bfa43e6268960bb /ui/app/account-detail.js
parent4b7fa27ad0e49deac076910f1579999415267575 (diff)
parent9ec86636050c6d642ff5fa9bf3413d17ccba1a24 (diff)
downloadtangerine-wallet-browser-3b1ac178ef5e085bfa40706c5e628204bcc0c17b.tar.gz
tangerine-wallet-browser-3b1ac178ef5e085bfa40706c5e628204bcc0c17b.tar.zst
tangerine-wallet-browser-3b1ac178ef5e085bfa40706c5e628204bcc0c17b.zip
Merge pull request #1899 from sdtsui/fix/acct-name-lengths
Fix account name overflow issues
Diffstat (limited to 'ui/app/account-detail.js')
-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(