fix: 🐛

This commit is contained in:
codytseng 2025-03-15 11:37:09 +08:00
parent eb15544195
commit 5c9f67c7e9
4 changed files with 17 additions and 12 deletions

View file

@ -129,9 +129,13 @@ const ProfilePage = forwardRef(({ id, index }: { id?: string; index?: number },
</div>
<ProfileAbout about={about} className="text-wrap break-words whitespace-pre-wrap mt-2" />
{website && (
<div className="flex gap-1 items-center text-primary mt-2">
<Link size={14} />
<a href={website} target="_blank" className="hover:underline">
<div className="flex gap-1 items-center text-primary mt-2 truncate">
<Link size={14} className="shrink-0" />
<a
href={website}
target="_blank"
className="hover:underline truncate flex-1 max-w-fit w-0"
>
{website}
</a>
</div>