From 916513ea902235b3d6b900ea90f608a64b6a8b32 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Sat, 29 Aug 2026 14:35:16 +0330 Subject: [PATCH] refactor(ui): improve layout consistency and profile redirection logic Refactor various client components to improve UI responsiveness, spacing, and icon sizing. Additionally, update the profile redirection logic to allow users to access specific sections when their profile is not locked. - Update `FindingMatchClient` with improved min-height, padding, and responsive spacing. - Standardize icon sizes using `size-[18px]` in `FindingMatchClient` and `NewMatchClient`. - Refactor `isProfileRedirecting` in `QuestionsListClient` using `useMemo` to allow access to `finding-match` when `can_edit_profile` is true. - Adjust `Button` component to use flexbox for better text alignment and centering. --- src/app/finding-match/finding-match-client.tsx | 4 ++-- src/components/Componentes/fix-to-the-end.tsx | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/finding-match/finding-match-client.tsx b/src/app/finding-match/finding-match-client.tsx index d4f88dc..abc9f47 100644 --- a/src/app/finding-match/finding-match-client.tsx +++ b/src/app/finding-match/finding-match-client.tsx @@ -117,7 +117,7 @@ export default function FindingMatchClient() { }} className="flex min-h-0 flex-1 flex-col justify-between text-center page-slide-enter" > -
+