From c6c24524b46e237bee796cb57b9a27c437c458ae Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Tue, 8 Sep 2026 09:07:51 -0400 Subject: fix: make game group collapse controls compact --- src/components/GameConfigurationSelector.tsx | 32 ++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'src/components') diff --git a/src/components/GameConfigurationSelector.tsx b/src/components/GameConfigurationSelector.tsx index a046594..15f2465 100644 --- a/src/components/GameConfigurationSelector.tsx +++ b/src/components/GameConfigurationSelector.tsx @@ -52,13 +52,25 @@ function GameGroup({ return ( <> - + + +
- {collapsed ? : } {title} ({games.length}) - + + {collapsed ? ( + + ) : ( + + )} + +
{!collapsed && games.map((game) => ( @@ -116,6 +128,14 @@ export function GameConfigurationSelector({ targets, runningGame, onSelect, onEn return ( <> + {targets.length === 0 && ( -- cgit v1.2.3