feat(M02): 구조물 조합 카드 셋 3열 · 단추 「가져오기」 · 「수정」 · 「새 항목」 공용 버튼 크기
40-2 ①~③ — 상세 칸 960px 아래 1열(상세 칸 폭 container query) · 카드 [수정] 툴팁에 무엇을 고치는지 · 「새 항목」 = 저장과 같은 크기. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016PSXsvyDxjNmufteN5bqmt
This commit is contained in:
@@ -40,7 +40,7 @@ def test_저장_단추_알림_한_벌():
|
||||
def test_네_카드가_틀을_씀_수정_단추_한_모양():
|
||||
cards = _text("M02_MasterTemplete_ItemCards.ts")
|
||||
assert "const shell = cardShell({ title, body, sub: [no, name] });" in cards
|
||||
assert "shell.tools.append(help, saver.button, take, edit);" in cards # 복사해 가져오기(39-5)
|
||||
assert "shell.tools.append(help, saver.button, take, edit);" in cards # 가져오기(39-5 · 40-2)
|
||||
assert 'variant: "filled"' not in cards # [수정] 은 모두 빈 단추(ghost)
|
||||
assert "c.saver.button.hidden = c.help.hidden = !can;" in cards # [저장] · ? 늘 보임
|
||||
assert "DRAWING_KEYS" in cards and "SHEET_KEYS" in cards
|
||||
|
||||
@@ -138,7 +138,7 @@ def test_항목_추가_창_카드_격자_표_접기():
|
||||
assert "일위대가:" not in panel and "pickCombo" not in panel + dlg # 39-1d — 고르기 줄 없음
|
||||
assert "askNewItem({" in panel and "M02_TreeUnit" not in panel
|
||||
css = (m02 / "M02_MasterTemplete_Structure.css").read_text("utf-8")
|
||||
assert "grid-template-columns: repeat(2, minmax(0, 1fr));" in css
|
||||
assert "grid-template-columns: repeat(3, minmax(0, 1fr));" in css # 카드 셋 3열(40-2)
|
||||
assert "grid-auto-rows: var(--m02-struct-card-h);" in css
|
||||
assert "--m02-struct-card-h: min(640px, 70vh);" in css # 31-6 화면 높이에 맞춤
|
||||
assert "flex: 1 0 var(--m02-struct-grid-min);" in css # 엑셀 격자가 카드 높이를 채움
|
||||
|
||||
Reference in New Issue
Block a user