Add ellipsis to super long account name

feature/default_network_editable
Chi Kei Chan 7 years ago
parent 6231431894
commit 3e55caeffd
  1. 10
      ui/app/css/itcss/components/newui-sections.scss

@ -43,7 +43,8 @@ $wallet-view-bg: $wild-sand;
.wallet-view { .wallet-view {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 33.5 0 33.5%; flex: 33.5 1 33.5%;
width: 0;
background: $wallet-view-bg; background: $wallet-view-bg;
z-index: 200; z-index: 200;
position: relative; position: relative;
@ -60,6 +61,7 @@ $wallet-view-bg: $wild-sand;
&__name-container { &__name-container {
flex: 0 0 auto; flex: 0 0 auto;
cursor: pointer; cursor: pointer;
width: 100%;
} }
&__keyring-label { &__keyring-label {
@ -251,6 +253,12 @@ $wallet-view-bg: $wild-sand;
color: $scorpion; color: $scorpion;
margin-top: 8px; margin-top: 8px;
margin-bottom: 24px; margin-bottom: 24px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
width: 100%;
padding: 0 8px;
text-align: center;
} }
// account options dropdown // account options dropdown

Loading…
Cancel
Save