From 44039e59f14b3a97b910cd6cc4af3fba6b15971e Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Wed, 16 Sep 2026 17:14:57 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=AC=B8=EC=A0=9C=C2=B7=EA=B2=B0?= =?UTF-8?q?=EB=A1=A0=EC=9D=84=20=EA=B2=80=EC=A6=9D=20=ED=99=98=EA=B2=BD?= =?UTF-8?q?=EA=B3=BC=20=EA=B0=99=EC=9D=80=20=EC=86=90=EC=9E=A1=EC=9D=B4?= =?UTF-8?q?=EB=A1=9C=20=EC=A0=91=EB=8A=94=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 핵심은 제목 아래 요약이 이미 말한다. 문제·결론 두 칸은 그 요약이 어디서 나왔는지 확인하려는 사람에게 필요한 자세한 이야기이고, 네 문단짜리 결론이 늘 펴져 있으면 본문이 두 번째 화면으로 밀린다. 검증 환경과 같은 모양의 `details` 로 둔다. 이어지는 손잡이 둘은 떨어진 덩어리가 아니라 한 벌의 줄로 선다. Co-Authored-By: Claude Opus 5 --- .../public-render/public-record-renderer.tsx | 34 +++++++++++++------ .../tech-log/presentation/styles/globals.css | 16 +++++++++ 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/src/features/tech-log/presentation/shared/public-render/public-record-renderer.tsx b/src/features/tech-log/presentation/shared/public-render/public-record-renderer.tsx index 8921a5b..fe00dc8 100644 --- a/src/features/tech-log/presentation/shared/public-render/public-record-renderer.tsx +++ b/src/features/tech-log/presentation/shared/public-render/public-record-renderer.tsx @@ -216,16 +216,30 @@ function CaseDocument({

{model.title}

-
-
-

문제

- -
-
-

결론

- -
-
+ {/* + 문제와 결론도 접어 둔다. 핵심은 제목 아래 요약이 이미 말하고 있고, 이 두 칸은 그 요약이 + 어디서 나왔는지 확인하려는 사람에게 필요한 자세한 이야기다 — 네 문단짜리 결론이 늘 펴져 + 있으면 본문이 두 번째 화면으로 밀린다. + + 검증 환경과 같은 모양으로 둔다. 같은 자리에서 같은 일을 하는 손잡이가 둘이면 모양도 + 같아야 무엇을 누르면 되는지 배우지 않아도 된다. + */} +
+ + 문제와 결론 + 무엇을 확인하려 했고, 확인한 결과가 무엇인가 + +
+
+

문제

+ +
+
+

결론

+ +
+
+
{/* 실험 조건은 재현하려는 사람에게 필요하고, 처음 읽는 사람에게는 본론을 막는 벽이다. diff --git a/src/features/tech-log/presentation/styles/globals.css b/src/features/tech-log/presentation/styles/globals.css index 8ffc2b0..314e460 100644 --- a/src/features/tech-log/presentation/styles/globals.css +++ b/src/features/tech-log/presentation/styles/globals.css @@ -4588,6 +4588,22 @@ summary { border-top: 1px solid var(--line); } +/* + 문제·결론도 검증 환경과 같은 손잡이로 접는다. 안쪽 두 칸은 제 테두리와 여백을 이미 갖고 + 있으므로 감싼 쪽에서는 위 여백만 지우고, 바깥 테두리는 `details` 에게 맡긴다. +*/ +.case-snapshot-details > .case-snapshot { + margin-top: 0; + border-top: 1px solid var(--line); + border-bottom: 0; +} + +/* 손잡이가 둘 이상 이어지면 떨어진 덩어리가 아니라 한 벌의 줄로 선다. */ +.case-meta-details + .case-meta-details { + margin-top: 0; + border-top: 0; +} + /* The previous heading-to-pill mechanism approximation was visually misleading. */ .mechanism-map { display: none;