Merge branch 'develop' into feature/2024.9.0
This commit is contained in:
commit
2cd41228d8
6 changed files with 37 additions and 7 deletions
|
|
@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<div :class="$style.users">
|
||||
<div v-for="u in users" :key="u.id" :class="$style.user">
|
||||
<MkAvatar :class="$style.avatar" :user="u"/>
|
||||
<MkUserName :user="u" :nowrap="true"/>
|
||||
<MkUserName :user="u" :nowrap="true" :class="$style.username"/>
|
||||
</div>
|
||||
<div v-if="count > 10" :class="$style.more">+{{ count - 10 }}</div>
|
||||
</div>
|
||||
|
|
@ -99,4 +99,11 @@ function getReactionName(reaction: string): string {
|
|||
.more {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.username {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue