From 60d44100a2c483e99085123bb08c0d639157d856 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Tue, 16 Jun 2026 20:43:36 +0330 Subject: [PATCH] ui(post-match): compact the result modal so it fits mobile without scrolling The end-of-match modal (title + reward rows + XP bar + full roster + button) was too tall on phones and scrolled. Shrink the mobile sizes (padding, emoji, title, hero-coins, spacing) with sm: bumping back up on larger screens, and tighten the player roster rows. Fits a portrait phone in one view. Co-Authored-By: Claude Opus 4.8 --- src/components/online/MatchPlayersList.tsx | 8 ++++---- src/components/online/PostMatchRewardsModal.tsx | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/online/MatchPlayersList.tsx b/src/components/online/MatchPlayersList.tsx index 8b12c64..b1b7329 100644 --- a/src/components/online/MatchPlayersList.tsx +++ b/src/components/online/MatchPlayersList.tsx @@ -30,14 +30,14 @@ export function MatchPlayersList() { }; return ( -
-
{t("match.players")}
-
+
+
{t("match.players")}
+
{seatPlayers.map((p, i) => { const isMe = p.id ? p.id === myId : !p.isBot; const canAdd = !!p.id && !p.isBot && p.id !== myId; return ( -
+
{canAdd ? (