From 199fe91801e43b1a2eb826a7975f0f8ffd14251b Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Thu, 14 May 2026 22:47:42 +0200 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20profile=20fields=20table=20?= =?UTF-8?q?=E2=80=94=20overflow-x-auto,=20break-all=20values,=20styled=20l?= =?UTF-8?q?inks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/remote-user-profile.tsx | 53 +++++++++++-------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/thoughts-frontend/components/remote-user-profile.tsx b/thoughts-frontend/components/remote-user-profile.tsx index 6e3b548..a337b94 100644 --- a/thoughts-frontend/components/remote-user-profile.tsx +++ b/thoughts-frontend/components/remote-user-profile.tsx @@ -43,7 +43,7 @@ export function RemoteUserProfile({ } } catch { toast.error( - followed ? "Failed to unfollow." : "Failed to send follow request." + followed ? "Failed to unfollow." : "Failed to send follow request.", ); } finally { setLoading(false); @@ -62,9 +62,7 @@ export function RemoteUserProfile({
@@ -104,7 +102,9 @@ export function RemoteUserProfile({

{actor.displayName ?? actor.handle}

-

{actor.handle}

+

+ {actor.handle} +

{actor.bio && ( @@ -117,9 +117,16 @@ export function RemoteUserProfile({ size="sm" className="mt-4 w-full" > - + - {new URL(actor.url).hostname} + + {new URL(actor.url).hostname} + @@ -138,21 +145,23 @@ export function RemoteUserProfile({ )} {actor.attachment.length > 0 && ( - - - {actor.attachment.map((field) => ( - - - - ))} - -
- {field.name} - -
+
+ + + {actor.attachment.map((field) => ( + + + + ))} + +
+ {field.name} + +
+
)}