From 61a502f89da6fe58b9c92d4acdf99ae1f6f946c8 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 4 Feb 2026 17:45:14 +0000 Subject: [PATCH] fix: match minimap height to control panel (208px) Updated minimap from 192x192 to 208x208 pixels to align with the SelectionPanel and CommandCard height (h-52). https://claude.ai/code/session_015FF5u5AChqRcBcA6NdndV5 --- src/app/globals.css | 2 +- src/components/game/Minimap.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 00d83344..2e40bc58 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -72,7 +72,7 @@ main { /* Minimap with modern border treatment */ .minimap-container { - @apply relative w-48 h-48 bg-black/90 rounded-lg overflow-hidden + @apply relative w-52 h-52 bg-black/90 rounded-lg overflow-hidden border border-void-600 shadow-[0_0_20px_rgba(0,0,0,0.5)]; } diff --git a/src/components/game/Minimap.tsx b/src/components/game/Minimap.tsx index 2ee10797..d3d83c4b 100644 --- a/src/components/game/Minimap.tsx +++ b/src/components/game/Minimap.tsx @@ -8,7 +8,7 @@ import { getRenderStateAdapter, getWorkerBridge } from '@/engine/workers'; import { clamp } from '@/utils/math'; import { debugInitialization } from '@/utils/debugLogger'; -const MINIMAP_SIZE = 192; +const MINIMAP_SIZE = 208; // Convert hex color (0xRRGGBB) to CSS hex string function hexToCSS(hex: number, darken: number = 0): string {