Skip to content

Commit e86049b

Browse files
authored
Merge pull request #161 from dapplets/xen-tg-app
fix: Wallet module text overflow
2 parents 2172f90 + e18bdfe commit e86049b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/xen-tg-app/src/components/Wallet.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ const Wallet = () => {
8989
})
9090

9191
return user && isLoggedIn ? (
92-
<div className="z-1 flex w-full items-center justify-between gap-2.5 rounded-xl border border-[#f8f9ff66] px-2.5 py-4 backdrop-blur-3xl backdrop-opacity-80">
93-
<div className="flex gap-3 text-[22px]/[150%] font-semibold">
92+
<div className="z-1 flex w-full flex-wrap items-center justify-between gap-2.5 overflow-hidden rounded-xl border border-[#f8f9ff66] px-2.5 py-4 backdrop-blur-3xl backdrop-opacity-80">
93+
<div className="flex shrink-0 justify-between gap-3 text-[22px]/[150%] font-semibold">
9494
<img src={NEAR_ICON} alt="near" />
9595
{balance?.formatted.available ?? '-'}
9696
</div>
97-
<div className="me-3 flex items-center gap-3 text-[22px]/[150%] font-normal">
97+
<div className="me-3 flex items-center justify-between gap-3 text-[22px]/[150%] font-normal wrap-anywhere">
9898
{user.nearAccountId}
9999
<button
100100
className="flex cursor-pointer p-1.5 text-[#7A818B] transition hover:text-(--color-main-text)"

0 commit comments

Comments
 (0)