From 00825d56b63094c2f0c9259631d21eb3e4dbee5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Gierwia=C5=82o?= Date: Fri, 5 Dec 2025 18:40:13 +0100 Subject: [PATCH] fix(profile): improve responsive layout for public profile - Add flex-wrap to stats section to prevent overflow on small screens - Make profile header flex-col on mobile, flex-row on larger screens - Add flex-shrink-0 to icons to prevent them from shrinking - Reduce padding on mobile (p-4) and increase on larger screens - Add min-w-0 to prevent text overflow issues --- frontend/src/pages/PublicProfilePage.jsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/pages/PublicProfilePage.jsx b/frontend/src/pages/PublicProfilePage.jsx index 2d65c8d..ce2d9b0 100644 --- a/frontend/src/pages/PublicProfilePage.jsx +++ b/frontend/src/pages/PublicProfilePage.jsx @@ -70,16 +70,16 @@ const PublicProfilePage = () => {
{/* Profile Header */} -
-
+
+
-
+

{profile.firstName && profile.lastName ? `${profile.firstName} ${profile.lastName}` @@ -106,22 +106,22 @@ const PublicProfilePage = () => { )} {/* Stats */} -
+
- + {profile.stats.rating} Rating
- + {profile.stats.ratingsCount} Reviews
{/* Member since */} -
- +
+ Member since {new Date(profile.createdAt).toLocaleDateString()}