From 2cb820a2e88e679b0701c60f8c38f5813b7a8bb8 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Mon, 5 Oct 2026 19:52:57 +0900 Subject: [PATCH] =?UTF-8?q?fix(M02):=2051-7=20=EB=8D=A7=20=EC=9D=BC?= =?UTF-8?q?=EC=9C=84=EB=8C=80=EA=B0=80=20=ED=95=98=EC=9C=84=20=ED=96=89=20?= =?UTF-8?q?=E2=80=94=20=EC=9D=B4=EB=A6=84=20=EA=B8=80=EC=9E=90=20=ED=82=A4?= =?UTF-8?q?=EC=9B=80=20=C2=B7=20=EC=A4=84=20=EC=B4=98=EC=B4=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 하위 행 이름 12 → 14px · 줄 높이 61 → 40px · 칸 여백 12/16 → 4/8px (위 줄 16px · 85px 그대로) - ui_checks 51-2 시나리오 — 하위 행 글자 · 높이 px 전후 적음 · font · h · topH 잼 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MgChuAcyBqUkhHMTXomQC7 --- M02_MasterTemplete/M02_MasterTemplete_Labor.css | 9 ++++++--- resources/tester/ui_checks/51-2_줄_하위행.js | 5 +++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/M02_MasterTemplete/M02_MasterTemplete_Labor.css b/M02_MasterTemplete/M02_MasterTemplete_Labor.css index 247bdb005..7f212df44 100644 --- a/M02_MasterTemplete/M02_MasterTemplete_Labor.css +++ b/M02_MasterTemplete/M02_MasterTemplete_Labor.css @@ -136,15 +136,18 @@ color: var(--color-text-secondary); } -/* 줄 접고 폄 표(51-2) · 고른 줄 하위 행 — 이름 들여쓰기 · 흐린 바탕 */ -.m02-labrow__sub td { +/* 줄 접고 폄 표(51-2) · 고른 줄 하위 행 — 이름 들여쓰기 · 흐린 바탕 · 위 줄보다 촘촘(51-7) */ +.m02-labrow .m02-labrow__sub td { + padding: var(--spacing-4) var(--spacing-8); background: var(--color-bg); font-size: var(--text-caption); + line-height: 1.3; } -.m02-labrow__sub .m02-labrow__subname { +.m02-labrow .m02-labrow__sub .m02-labrow__subname { padding-left: var(--spacing-24); color: var(--color-text-secondary); + font-size: var(--text-body-sm); } /* 별칭 칸(44-6) — 칸 안 글상자 · 누르면 바로 고침 */ diff --git a/resources/tester/ui_checks/51-2_줄_하위행.js b/resources/tester/ui_checks/51-2_줄_하위행.js index cb94ba507..0971db5b7 100644 --- a/resources/tester/ui_checks/51-2_줄_하위행.js +++ b/resources/tester/ui_checks/51-2_줄_하위행.js @@ -7,6 +7,8 @@ * - lines[*].subs ≥ 1 · lines[*].cells = head(칸 수 = 머리 칸 수) · lines[*].next = true(고른 줄 바로 아래) * - lines[*].base ≈ lines[*].subBase · lines[*].applied ≈ lines[*].subApplied(반올림 차 ≤ 하위 행 수) * - lines[*].open = 1(한 줄만 열림) · lines[*].arrow = 0(이름 앞 화살표 없음 · 51-7) + * - lines[*].font = 하위 행 이름 글자 px · lines[*].h = 하위 행 높이 px · lines[*].topH = 위 줄 높이 px(51-7 촘촘) + * 전 font 12 · h 61 · 칸 여백 12/16 → 후 font 14 · h 40 · 칸 여백 4/8(위 줄 font 16 · topH 85 그대로) * - again.subs = 0 · again.selected = 0(같은 줄 다시 = 닫힘) · box = 0(따로 상자 없음) */ (async () => { @@ -61,6 +63,9 @@ open: rowsOf(tb).filter((r) => r.classList.contains("is-selected")).length, arrow: [...tb.querySelectorAll(".m02-labrow__name")].filter((d) => /[▸▾]/.test(d.innerText)) .length, + font: parseFloat(getComputedStyle(subs[0].querySelector(".m02-labrow__subname")).fontSize), + h: Math.round(subs[0].getBoundingClientRect().height), + topH: Math.round(tr.getBoundingClientRect().height), names: subs.map((s) => s.querySelector(".m02-labrow__subname").innerText).slice(0, 4), }); }