From 1e9d5cd935b4949197bbc98bce6f16e5473908ef Mon Sep 17 00:00:00 2001 From: htlee Date: Mon, 23 Mar 2026 13:14:33 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=97=A4=EB=8D=94=20=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=EC=A0=95=EB=A6=AC=20=E2=80=94=20=EC=9D=B4?= =?UTF-8?q?=EB=9E=80=20mode-toggle=20=EC=A2=8C=EC=B8=A1=20=EB=B0=B0?= =?UTF-8?q?=EC=B9=98=20+=20Flag=20=EB=B9=88=EA=B0=92=20=ED=91=9C=EA=B8=B0?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - #dashboard-header-slot: flex + justify-content:center 기본 중앙 배치 - 이란 mode-toggle-left: position:absolute left:0 → 탭 오른쪽 배치 - 한국 필터 탭: 중앙 배치 유지 - 감시 목록 Flag 빈값: '??' → '-' Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/App.css | 13 +++++++++++++ frontend/src/components/iran/IranDashboard.tsx | 2 +- frontend/src/components/korea/KoreaMap.tsx | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.css b/frontend/src/App.css index bc9f6e4..6ac030e 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -1991,6 +1991,19 @@ color: var(--kcg-muted) !important; } +#dashboard-header-slot { + display: flex; + flex: 1; + gap: 6px; + align-items: center; + justify-content: center; + position: relative; +} +#dashboard-header-slot > .mode-toggle-left { + position: absolute; + left: 0; +} + /* ======================== */ /* Mode Toggle (LIVE/REPLAY) */ /* ======================== */ diff --git a/frontend/src/components/iran/IranDashboard.tsx b/frontend/src/components/iran/IranDashboard.tsx index ae63a59..a1a5d63 100644 --- a/frontend/src/components/iran/IranDashboard.tsx +++ b/frontend/src/components/iran/IranDashboard.tsx @@ -121,7 +121,7 @@ const IranDashboard = ({ <> {headerSlot && createPortal( <> -
+
⚔️ D+{Math.floor((currentTime - new Date('2026-03-01T00:00:00Z').getTime()) / (1000 * 60 * 60 * 24))} diff --git a/frontend/src/components/korea/KoreaMap.tsx b/frontend/src/components/korea/KoreaMap.tsx index 1699aef..02497da 100644 --- a/frontend/src/components/korea/KoreaMap.tsx +++ b/frontend/src/components/korea/KoreaMap.tsx @@ -784,7 +784,7 @@ export function KoreaMap({ ships, allShips, aircraft, satellites, layers, osintF > {s.mmsi} {s.name || '-'} - {s.flag || '??'} + {s.flag || '-'} {s.mtCategory || '-'} {s.speed?.toFixed(1)}kn