From 8d19e2a4424d60c98ee1f260fb742962b3ac2c2e Mon Sep 17 00:00:00 2001 From: JesseRWeigel Date: Mon, 16 Mar 2026 13:27:41 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20mobile=20stats=20section=20overflow=20?= =?UTF-8?q?=E2=80=94=20ensure=20+=20buttons=20are=20visible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On screens narrower than 420px (e.g. iPhone SE at 375px), the stats grid now uses a single column layout instead of two columns, preventing the +1/+5/+10 buttons from being cut off. The accordion content padding is also reduced on small screens to maximize usable space. Closes #28 Co-Authored-By: Claude Opus 4.6 (1M context) --- client/src/components/game/mobile/ManageTab.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/components/game/mobile/ManageTab.tsx b/client/src/components/game/mobile/ManageTab.tsx index 145b8f5..7435656 100644 --- a/client/src/components/game/mobile/ManageTab.tsx +++ b/client/src/components/game/mobile/ManageTab.tsx @@ -40,7 +40,7 @@ function Accordion({ title, badge, defaultOpen = false, children }: { {title}{badge} {open ? "▲" : "▼"} - {open &&
{children}
} + {open &&
{children}
} ); } @@ -93,22 +93,22 @@ export function ManageTab({ defaultOpen={hasPoints} badge={hasPoints ? : undefined} > -
+
{STATS.map(stat => ( -
-
+
+
{stat}
{player.stats?.[stat] ?? 0}
-
+
{[1, 5, 10].map(n => (