+
{title}
+
준비 중인 화면입니다. (페이지 컴포넌트를 연결하세요)
+
+ )
+}
diff --git a/src/features/crm/DistanceStrip.jsx b/src/features/crm/DistanceStrip.jsx
index a370c7d..8aebffb 100644
--- a/src/features/crm/DistanceStrip.jsx
+++ b/src/features/crm/DistanceStrip.jsx
@@ -116,8 +116,11 @@ export default function DistanceStrip({ rows }) {
]
const lineH = 16
const tw = 176, th = 24 + rows.length * lineH
- const tx = Math.min(Math.max(d.mx - tw / 2, 6), W - tw - 6)
- const ty = Math.max(6, CY - R - th - 8)
+ // 마커를 가리지 않게 옆에 배치 (오른쪽 우선, 공간 없으면 왼쪽)
+ let tx = d.mx + R + 12
+ if (tx + tw > W - 6) tx = d.mx - R - 12 - tw
+ tx = Math.min(Math.max(tx, 6), W - tw - 6)
+ const ty = Math.min(Math.max(CY - th / 2, 6), H - th - 6)
return (