From f6450fdafbbb9bed0142064c1c1eab84b53a0159 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Mon, 15 Sep 2025 17:40:23 +0200 Subject: [PATCH] refactor(RegionMap, StatisticsToggle): reposition StatisticsToggle to avoid overlaps and simplify layout --- frontend/src/components/RegionMap.tsx | 16 +++++++++------- frontend/src/components/StatisticsToggle.tsx | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/RegionMap.tsx b/frontend/src/components/RegionMap.tsx index 2cd01c1..bfd1550 100644 --- a/frontend/src/components/RegionMap.tsx +++ b/frontend/src/components/RegionMap.tsx @@ -1222,13 +1222,15 @@ export const RegionMap = ({ regionName, focusSystem, isCompact = false, isWormho )} - {/* Statistics Toggle */} - + {/* Statistics Toggle - positioned to avoid overlaps */} +
+ +
{/* Context Menu */} {contextMenu && ( diff --git a/frontend/src/components/StatisticsToggle.tsx b/frontend/src/components/StatisticsToggle.tsx index bb1e6c5..c78bbca 100644 --- a/frontend/src/components/StatisticsToggle.tsx +++ b/frontend/src/components/StatisticsToggle.tsx @@ -14,7 +14,7 @@ export const StatisticsToggle: React.FC = ({ onKillsToggle, }) => { return ( -
+