aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/dropdowns
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-14 17:06:14 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-14 17:06:14 +0800
commitdbc539ac558958fee339cb1ab43202385d98d089 (patch)
tree00296e883ff128f141df51915650fd5075f9cdd7 /ui/app/components/dropdowns
parent2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453 (diff)
parent68c6b2d666719476bff78cbc107a56be3b86dbe1 (diff)
downloadtangerine-wallet-browser-dbc539ac558958fee339cb1ab43202385d98d089.tar
tangerine-wallet-browser-dbc539ac558958fee339cb1ab43202385d98d089.tar.gz
tangerine-wallet-browser-dbc539ac558958fee339cb1ab43202385d98d089.tar.bz2
tangerine-wallet-browser-dbc539ac558958fee339cb1ab43202385d98d089.tar.lz
tangerine-wallet-browser-dbc539ac558958fee339cb1ab43202385d98d089.tar.xz
tangerine-wallet-browser-dbc539ac558958fee339cb1ab43202385d98d089.tar.zst
tangerine-wallet-browser-dbc539ac558958fee339cb1ab43202385d98d089.zip
Merge remote-tracking branch 'mm/master' into NewUI-flat
Diffstat (limited to 'ui/app/components/dropdowns')
-rw-r--r--ui/app/components/dropdowns/components/account-dropdowns.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/ui/app/components/dropdowns/components/account-dropdowns.js b/ui/app/components/dropdowns/components/account-dropdowns.js
index 11d109d73..b59f9bbf4 100644
--- a/ui/app/components/dropdowns/components/account-dropdowns.js
+++ b/ui/app/components/dropdowns/components/account-dropdowns.js
@@ -56,7 +56,16 @@ class AccountDropdowns extends Component {
},
},
),
- h('span', { style: { marginLeft: '20px', fontSize: '24px' } }, identity.name || ''),
+ h('span', {
+ style: {
+ marginLeft: '20px',
+ fontSize: '24px',
+ maxWidth: '145px',
+ whiteSpace: 'nowrap',
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
+ },
+ }, identity.name || ''),
h('span', { style: { marginLeft: '20px', fontSize: '24px' } }, isSelected ? h('.check', '✓') : null),
]
)