fix(cupang): 혼합 상자 이동은 용량 제한 없이, ③ 목록 max-height 로 스크롤 보장

- mixPut/moveUnits 에서 용량 제한 제거. 이동 목록도 "가득"이어도 선택 가능
  (채움률이 100% 를 넘으면 빨간색으로 표시만)
- 부모 flex 높이 계산에 기대던 스크롤을 max-height 로 직접 지정
  (③ 72vh, ① 표 64vh, ② 목록 64vh)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-01 16:42:51 +09:00
parent 58ebf1c232
commit da6ae2cd13
7 changed files with 33 additions and 30 deletions
+12
View File
@@ -1453,3 +1453,15 @@ body.cpg-dragging { cursor: grabbing; user-select: none; }
flex: 1 1 auto; min-height: 0;
overflow-y: auto; overflow-x: hidden;
}
/* ③ 목록 스크롤 — 부모 높이 계산에 기대지 않도록 최대 높이를 직접 준다 */
.cpg-dist-card .cpg-dist-list {
max-height: min(72vh, 820px);
overflow-y: auto;
overflow-x: hidden;
}
/* ①② 도 같은 방식으로 안전장치 */
.cpg-calc-card .erp-table-wrap { max-height: min(64vh, 720px); }
.cpg-calc-sum .cpg-sum-scroll { max-height: min(64vh, 720px); }
/* 용량 초과 표시 */
.cpg-mix-fill.is-over { color: var(--color-callout-red); font-weight: 600; }