fix(M02): 산출근거 전체 편집 격자 높이 0 — 메인 칸을 화면 높이로 채움
- .ss 는 height:100% 로 부모 높이를 받는데 host 에 정해진 높이가 없어 격자 0 - 도면 편집과 같은 규칙(.m02-main:has(> .m02-main__host > .ss) · host flex) 으로 메인 칸을 채움 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019Kyw9qnkJ94pC1A4PfpDtA
This commit is contained in:
@@ -69,6 +69,24 @@
|
||||
min-height: 240px;
|
||||
}
|
||||
|
||||
/* 산출근거 전체 편집 — `.ss` 는 height:100% 로 부모 높이를 받음 · 도면 편집과 같이 메인 칸을 화면 높이로 채움 */
|
||||
.m02-main:has(> .m02-main__host > .ss) {
|
||||
box-sizing: border-box;
|
||||
height: calc(100vh - var(--spacing-64));
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.m02-main__host:has(> .ss) {
|
||||
display: flex;
|
||||
flex: 1 1 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.m02-main__host > .ss {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.m02-main__empty {
|
||||
margin: 0;
|
||||
padding: var(--spacing-24);
|
||||
|
||||
Reference in New Issue
Block a user