fix: overflow issue with user name input

This commit is contained in:
Anik Dhabal Babu
2024-03-06 14:52:59 +00:00
parent d382e03085
commit b5b74a788c
2 changed files with 4 additions and 4 deletions

View File

@ -24,9 +24,9 @@ export const UserProfileSkeleton = ({ className, user, rows = 2 }: UserProfileSk
className,
)}
>
<div className="border-border bg-background text-muted-foreground inline-flex items-center rounded-md border px-2.5 py-1.5 text-sm">
<div className="border-border bg-background text-muted-foreground relative inline-block rounded-md border px-2.5 py-1.5 text-sm">
<span>{baseUrl.host}/u/</span>
<span className="inline-block max-w-[8rem] truncate lowercase">{user.url}</span>
<span className="absolute inline-block max-w-[8rem] truncate lowercase">{user.url}</span>
</div>
<div className="mt-4">