From 560c974bf33fafd14bd0f86e960c78f2054714ef Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Wed, 14 Jan 2026 16:34:59 -0700 Subject: [PATCH] Try fix mobile --- components/Scoreboard.tsx | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/components/Scoreboard.tsx b/components/Scoreboard.tsx index 86fb60a..6743bdc 100644 --- a/components/Scoreboard.tsx +++ b/components/Scoreboard.tsx @@ -93,14 +93,21 @@ const PlayerRow: React.FC = ({ player, index, maxScore }) => { initial={{ opacity: 0, x: -20 }} animate={{ opacity: 1, x: 0 }} transition={{ delay: baseDelay, duration: 0.4 }} - className="flex items-center gap-4 py-3" + className="flex flex-col md:flex-row md:items-center gap-2 md:gap-4 py-3" > -
- - {player.displayName} +
+
+ + {player.displayName} +
+
+ + + +
-
+
= ({ player, index, maxScore }) => { />
-
+
-
+
{breakdown === null && ( = ({ players, onNext, isHost, const maxScore = Math.max(...sortedPlayers.map(p => p.score), 1); return ( -
-
-

Scoreboard

+
+
+

Scoreboard

-
+
{sortedPlayers.map((player, index) => ( @@ -210,18 +217,18 @@ export const Scoreboard: React.FC = ({ players, onNext, isHost,
-
+
{isHost ? ( ) : ( -
- - Waiting for host... +
+ + Waiting for host...
)}