From a3a1d3fbad5c7a4f7456ee29443f86936cd8f3be Mon Sep 17 00:00:00 2001 From: king Date: Fri, 19 Jun 2026 00:29:23 +0900 Subject: [PATCH] =?UTF-8?q?fix(malaysia):=20=EC=B0=BD=EA=B3=A0=20POG=20?= =?UTF-8?q?=EC=9D=B8=EC=87=84=206=EC=97=B4=20=EA=B0=95=EC=A0=9C=20+=20?= =?UTF-8?q?=EB=A9=B4=EB=8B=B9=20=ED=95=9C=20=EC=9E=A5=20=EB=B3=B4=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .rv-row 에 grid-template-columns:repeat(6,1fr) !important 로 6열 강제(인쇄 시 3열로 덮이던 문제 차단). height:210mm 고정 제거 → height:auto + 칸 min-height:50mm 로 프린터 기본여백 더해져도 면이 한 장 넘던 문제 해소. rv-side flex 해제해 자연 높이로 흐름. Co-Authored-By: Claude Opus 4.8 --- .../malaysia/templates/malaysia/rack_view.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/app/modules/malaysia/templates/malaysia/rack_view.html b/app/modules/malaysia/templates/malaysia/rack_view.html index 279ff2f..aeb959a 100644 --- a/app/modules/malaysia/templates/malaysia/rack_view.html +++ b/app/modules/malaysia/templates/malaysia/rack_view.html @@ -173,17 +173,25 @@ (화면 미리보기는 위쪽 cqh 그대로 사용) */ body.printing-pog .pog-sheet { container-type:normal !important; - width:100% !important; height:210mm !important; aspect-ratio:auto !important; - padding:6mm 5mm !important; + width:100% !important; height:auto !important; aspect-ratio:auto !important; + padding:4mm 4mm !important; box-shadow:none !important; border-radius:0 !important; - page-break-inside:avoid; break-before:page; page-break-before:always; + break-before:page; page-break-before:always; page-break-inside:avoid; } body.printing-pog .pog-sheet:first-child { break-before:auto; page-break-before:auto; } + /* 면 자연 높이로 흐르게(flex 해제) → 프린터 여백 변동에도 한 면=한 장 */ + body.printing-pog .pog-sheet .rv-side { display:block !important; flex:none !important; } + /* 6열 강제(인쇄에서 3열로 덮이는 문제 차단) */ + body.printing-pog .pog-sheet .rv-row { + display:grid !important; grid-template-columns:repeat(6, 1fr) !important; + gap:2mm !important; margin:0 0 2mm !important; + } body.printing-pog .pog-sheet .pog-sheet-head { margin-bottom:4mm !important; } body.printing-pog .pog-sheet .pog-sheet-head .pog-t { font-size:8mm !important; } body.printing-pog .pog-sheet .pog-sheet-head .pog-meta { font-size:4.5mm !important; } - body.printing-pog .pog-sheet .rv-row { gap:2mm !important; margin:0 0 2mm !important; } - body.printing-pog .pog-sheet .rv-cell { padding:1.5mm 2mm !important; } + body.printing-pog .pog-sheet .rv-cell { + min-height:50mm !important; height:auto !important; padding:1.5mm 2mm !important; + } body.printing-pog .pog-sheet .rv-cell-head { font-size:3.6mm !important; margin-bottom:1mm !important; padding-bottom:0.8mm !important; }