diff --git a/packages/center-graphic/src/components/CenterSpatialInformation.css b/packages/center-graphic/src/components/CenterSpatialInformation.css index 0cf420a..df1228b 100644 --- a/packages/center-graphic/src/components/CenterSpatialInformation.css +++ b/packages/center-graphic/src/components/CenterSpatialInformation.css @@ -310,6 +310,9 @@ white-space: nowrap; font-size: calc(var(--csi-admin-size) * var(--csi-u)); letter-spacing: calc(var(--csi-admin-track) * var(--csi-u)); + /* letter-spacing also follows the last character; take that trailing space out of the box so a centred label is + centred on its letters (2026-10-26). */ + margin-right: calc(-1 * var(--csi-admin-track) * var(--csi-u)); paint-order: stroke fill; -webkit-text-stroke: calc(2 * var(--csi-admin-outline) * var(--csi-u)) #000000; } diff --git a/packages/center-graphic/src/components/CenterSpatialInformation.tsx b/packages/center-graphic/src/components/CenterSpatialInformation.tsx index 0264614..f83271f 100644 --- a/packages/center-graphic/src/components/CenterSpatialInformation.tsx +++ b/packages/center-graphic/src/components/CenterSpatialInformation.tsx @@ -550,17 +550,18 @@ export function CenterSpatialInformationReferenceDemo() { + "강조형: 행정구역을 명확히 구분하거나 주요 위치정보로 강조할 경우 — 글자마다 베벨 타일 하나." } > + {/* 2026-10-26 (user request): each row centred on its column's vertical axis; the captions stay left. */}
-
-
기본형
+
+
기본형
{Object.values(ADMIN_LEVELS).map((lv) => (
))}
-
-
강조형
+
+
강조형
{Object.values(ADMIN_LEVELS).map((lv) => (