fix(M02): 51-7 덧 일위대가 하위 행 — 이름 글자 키움 · 줄 촘촘

- 하위 행 이름 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MgChuAcyBqUkhHMTXomQC7
This commit is contained in:
2026-10-05 19:52:57 +09:00
co-authored by Claude Opus 5.5
parent 74c20420c4
commit 2cb820a2e8
2 changed files with 11 additions and 3 deletions
@@ -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) — 칸 안 글상자 · 누르면 바로 고침 */
@@ -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),
});
}