fix(M02): 도면 편집 칸이 메인 칸을 꽉 채우고 창 크기를 따름 (PLAN 10-3)
- 도면을 품은 때만 메인 높이를 화면 높이로 · 칸 · 부품 · CAD 를 flex 로 늘림 - 실측 CAD 캔버스 495×228 → 495×571 · 좌측 패널 접으면 691×621 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PxvYb5ufV1kWdBvZbpDfu6
This commit is contained in:
@@ -1,11 +1,27 @@
|
||||
/* M02 도면 양식 편집 부품 — 위 도구 줄(작도 영역 · 자리표 · 단추) + 아래 웹캐드. */
|
||||
|
||||
/* 도면 칸이 메인을 꽉 채우고 창 크기를 따른다 — 메인 칸(`ui-workflow-layout__main`)은
|
||||
높이가 정해지지 않아(min-height 만) 100% 가 안 먹으므로 화면 높이로 잡는다.
|
||||
표 양식일 때는 페이지 쪽 모양 그대로 두려고 도면을 품은 때만 건다. */
|
||||
.m02-main:has(> .m02-main__host > .m02-drawing) {
|
||||
box-sizing: border-box;
|
||||
height: calc(100vh - var(--spacing-64));
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.m02-main__host:has(> .m02-drawing) {
|
||||
display: flex;
|
||||
flex: 1 1 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.m02-drawing {
|
||||
display: flex;
|
||||
flex: 1 1 0;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-8);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user