aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-25 14:47:43 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-25 14:47:43 +0800
commit3e55caeffd6b7657067009ece9aa339922aee561 (patch)
treef447bbfae14eeeeb6e7ab5a34919f40641679c1b /ui
parent62314318948067cddd97fe1092f9949a2b80bf7f (diff)
downloadtangerine-wallet-browser-3e55caeffd6b7657067009ece9aa339922aee561.tar
tangerine-wallet-browser-3e55caeffd6b7657067009ece9aa339922aee561.tar.gz
tangerine-wallet-browser-3e55caeffd6b7657067009ece9aa339922aee561.tar.bz2
tangerine-wallet-browser-3e55caeffd6b7657067009ece9aa339922aee561.tar.lz
tangerine-wallet-browser-3e55caeffd6b7657067009ece9aa339922aee561.tar.xz
tangerine-wallet-browser-3e55caeffd6b7657067009ece9aa339922aee561.tar.zst
tangerine-wallet-browser-3e55caeffd6b7657067009ece9aa339922aee561.zip
Add ellipsis to super long account name
Diffstat (limited to 'ui')
-rw-r--r--ui/app/css/itcss/components/newui-sections.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/ui/app/css/itcss/components/newui-sections.scss b/ui/app/css/itcss/components/newui-sections.scss
index 3bb1840e2..244de2ba0 100644
--- a/ui/app/css/itcss/components/newui-sections.scss
+++ b/ui/app/css/itcss/components/newui-sections.scss
@@ -43,7 +43,8 @@ $wallet-view-bg: $wild-sand;
.wallet-view {
display: flex;
flex-direction: column;
- flex: 33.5 0 33.5%;
+ flex: 33.5 1 33.5%;
+ width: 0;
background: $wallet-view-bg;
z-index: 200;
position: relative;
@@ -60,6 +61,7 @@ $wallet-view-bg: $wild-sand;
&__name-container {
flex: 0 0 auto;
cursor: pointer;
+ width: 100%;
}
&__keyring-label {
@@ -251,6 +253,12 @@ $wallet-view-bg: $wild-sand;
color: $scorpion;
margin-top: 8px;
margin-bottom: 24px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ width: 100%;
+ padding: 0 8px;
+ text-align: center;
}
// account options dropdown