From 58044e1d02dee00f54a0cd618a6b7f17e22f43ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Gierwia=C5=82o?= Date: Sat, 29 Nov 2025 15:56:12 +0100 Subject: [PATCH] fix(frontend): ensure consistent width across all matches tabs - Add w-full to MatchCard for consistent card width - Use Layout noPadding to avoid padding conflicts - Add explicit padding and width control to main container - Ensure All, Pending, and Active tabs have identical width --- frontend/src/components/matches/MatchCard.jsx | 2 +- frontend/src/pages/MatchesPage.jsx | 39 +++++++++---------- 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/matches/MatchCard.jsx b/frontend/src/components/matches/MatchCard.jsx index 8a6a387..4ca6db6 100644 --- a/frontend/src/components/matches/MatchCard.jsx +++ b/frontend/src/components/matches/MatchCard.jsx @@ -12,7 +12,7 @@ const MatchCard = ({ match, onAccept, onReject, onOpenChat, processing }) => { const isAccepted = match.status === MATCH_STATUS.ACCEPTED; return ( -
+
diff --git a/frontend/src/pages/MatchesPage.jsx b/frontend/src/pages/MatchesPage.jsx index c4d4102..e587989 100644 --- a/frontend/src/pages/MatchesPage.jsx +++ b/frontend/src/pages/MatchesPage.jsx @@ -125,8 +125,8 @@ const MatchesPage = () => { const otherMatches = filteredMatches.filter(m => !(m.status === MATCH_STATUS.PENDING && !m.isInitiator)); return ( - -
+ +

Match Requests

@@ -135,7 +135,7 @@ const MatchesPage = () => {

{/* Filter Tabs */} -
+