style(cupang): box list table right edge lines up with the summary cards
The scroll area reserved a 10px scrollbar gutter + 2px padding inside the card content width, so the table was 12px narrower than the KPI cards. Move that space into the card's 16px padding (margin-right: -12px); reset on narrow screens where the list does not scroll. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1327,6 +1327,8 @@ a.cpg-boxno-dl:hover { background: #1a5c38; border-color: #1a5c38; font-weight:
|
||||
.cpg-boxno-table { table-layout: fixed; width: 100%; }
|
||||
/* 출고 상세 상자 목록 — 위 요약 카드와 20px 띄움 */
|
||||
.cpg-calc-sum .cpg-boxno-scroll { margin-top: 20px; }
|
||||
/* 표 오른쪽 끝 = 요약 카드 오른쪽 끝 — 스크롤바 칸(10px)+여백(2px)을 카드 안쪽 여백(16px)으로 내보낸다 */
|
||||
.cpg-calc-sum .cpg-boxno-scroll { margin-right: -12px; }
|
||||
.cpg-boxno-table th, .cpg-boxno-table td {
|
||||
box-sizing: border-box;
|
||||
padding: 4px 8px;
|
||||
@@ -1496,6 +1498,7 @@ a.cpg-boxno-dl:hover { background: #1a5c38; border-color: #1a5c38; font-weight:
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
}
|
||||
.cpg-calc-sum .cpg-boxno-scroll { margin-right: 0; padding-right: 0; } /* 스크롤 없음 — 스크롤바 칸도 없다 */
|
||||
}
|
||||
|
||||
/* ── 넓은 화면(3열): ③ 카드 자체가 스크롤러 ──
|
||||
|
||||
Reference in New Issue
Block a user