fix(cupang): 스크롤 높이를 id 선택자 + !important 로 확정

CSS 우선순위나 flex 높이 계산에 밀리지 않도록
#cpg-dist-list / 표 / 요약 목록에 !important 최대 높이를 주고,
JS 도 setProperty(..., "important") 로 지정한다(data-fit 로 확인 가능).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-01 17:12:53 +09:00
parent c3d2141474
commit 9706fd70c7
7 changed files with 27 additions and 8 deletions
+16
View File
@@ -1492,3 +1492,19 @@ body.cpg-dragging { cursor: grabbing; user-select: none; }
}
.cpg-dist-card .cpg-dist-list::-webkit-scrollbar-thumb:hover,
.cpg-dist-card::-webkit-scrollbar-thumb:hover { background: var(--color-midtone-gray); }
/* ── 스크롤 최종 보정 — id 선택자 + !important 로 확정 ── */
#cpg-dist-list {
max-height: 60vh !important;
overflow-y: auto !important;
min-height: 0 !important;
}
.cpg-calc-card .erp-table-wrap {
max-height: 52vh !important;
overflow-y: auto !important;
}
.cpg-calc-sum .cpg-sum-scroll {
max-height: 52vh !important;
overflow-y: auto !important;
}
.cpg-calc3 > .erp-card { max-height: 86vh !important; }