Skip to content

Commit

Permalink
💄Add ellipsis to displayName in UserInfoCard
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraHuang22 authored and williamchong committed Jul 18, 2024
1 parent 8227732 commit dd20e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/UserInfoCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
/>

<Label
class="text-like-green w-full"
class="w-full text-like-green"
preset="h3"
content-class="min-w-0"
align="center"
>
<span class="line-clamp-2">{{ displayName }}</span>
<span>{{ displayName | ellipsis }}</span>
</Label>

<ToolTips :tool-tip-text="wallet">
Expand Down

0 comments on commit dd20e27

Please sign in to comment.