From c4e924dc97fa004d8305994e789f0b63bba56f8c Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Fri, 8 May 2026 18:47:38 +0200 Subject: [PATCH] Redesign last online row in profile to improve layout, spacing, and typography consistency. --- web/components/profile-about.tsx | 36 +++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/web/components/profile-about.tsx b/web/components/profile-about.tsx index eab2611c..7b0a27f4 100644 --- a/web/components/profile-about.tsx +++ b/web/components/profile-about.tsx @@ -1043,13 +1043,35 @@ function LastOnline(props: {lastOnlineTime?: string}) { const {lastOnlineTime} = props if (!lastOnlineTime) return null return ( - } - text={t('profile.last_online', 'Active {time}', { - time: fromNow(lastOnlineTime, true, t, locale), - })} - testId="profile-about-last-online" - /> + <> + +
+ +
+ +
+ {t('profile.activity', 'Activity')} +
+
+ {t('profile.last_online', 'Active {time}', { + time: fromNow(lastOnlineTime, true, t, locale), + })} +
+ +
+ ) }