Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:Truncation in followers/following tab #10255

Merged
merged 6 commits into from
May 9, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions components/profile/follow/UserRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
alt="follower avatar"
class="w-12 h-12 rounded-full border object-cover mr-4" />
<div class="flex flex-col gap-[6px]">
<span class="text-k-black font-bold">{{ user.name }}</span>
<span class="text-k-black font-bold truncate max-w-[11rem]">{{
user.name
}}</span>
<p class="text-sm">
{{ followersCount }}
<span class="text-k-grey">{{
Expand All @@ -20,7 +22,7 @@
ref="buttonRef"
rounded
no-shadow
class="min-w-28"
class="!min-w-fit"
Jarsen136 marked this conversation as resolved.
Show resolved Hide resolved
:class="buttonConfig.classes"
:variant="buttonConfig.variant"
:active="buttonConfig.active"
Expand Down