fix(b08): 구조물도 모달 카드 차례 늘 도면 › 일위대가 › 면적산출 · 폭 2:3:3(170-1)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01STqEqztUthVFBmEP18wBSz
This commit is contained in:
2026-10-10 08:30:50 +09:00
co-authored by Claude Opus 5.5
parent 1f1646781f
commit 30ef4ff8d4
2 changed files with 5 additions and 9 deletions
+2 -6
View File
@@ -37,18 +37,14 @@
color: var(--color-danger);
}
/* 카드 셋(도면 · 일위대가 · 면적산출) = 한 줄 세 칸 · 일위대가 · 면적산출 넓게(왼쪽) · 도면 맨 오른쪽(163-2) ·
/* 카드 셋 = 한 줄 세 칸 · 차례 늘 도면 › 일위대가 › 면적산출 · 폭 2 : 3 : 3(170-1) ·
높이 = 큰 창에 맞춤(156-4) */
.b08-sheets .m02-struct {
--m02-struct-card-h: max(480px, calc(94vh - 14rem));
grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr);
grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr);
gap: var(--spacing-16);
}
.b08-sheets .m02-struct > :first-child {
order: 3;
}
@media (max-width: 960px) {
.b08-sheets .m02-struct {
grid-template-columns: minmax(0, 1fr);
+3 -3
View File
@@ -109,7 +109,7 @@ def test_156_4_구조물도_모달_큰_창_세_칸():
assert "wide: true" in sheets
css = (ROOT / "B08_Quantity/B08_Quantity_UI_Drawing.css").read_text(encoding="utf-8")
assert "min(1320px" not in css # 자기 폭 없음 — 공용 wide 그대로
# 163-2 — 일위대가 · 면적산출 넓게(왼쪽) · 도면 좁게 맨 오른쪽(order 3)
assert "minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr)" in css
assert ".b08-sheets .m02-struct > :first-child {\n order: 3;" in css
# 170-1 — 차례 늘 도면 › 일위대가 › 면적산출(뒤집기 없음) · 폭 2 : 3 : 3
assert "minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr)" in css
assert " order: " not in css
assert ".b08-sheets__combo + .b08-sheets__combo" in css