fix: Hide long username and instance name in side menu

This commit is contained in:
AkiraFukushima 2019-03-20 22:40:31 +09:00
parent 5297560248
commit f80b86c59a
1 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<div class="avatar" v-if="collapse">
<img :src="account.avatar" />
</div>
<div v-else>
<div class="acct" v-else>
@{{ account.username }}
<span class="domain-name">{{ account.domain }}</span>
</div>
@ -202,6 +202,12 @@ export default {
align-items: center;
justify-content: center;
.acct {
max-width: 117px;
overflow: hidden;
text-overflow: ellipsis;
}
.el-dropdown-link {
cursor: pointer;
color: #dcdfe6;