diff --git a/app/modules/malaysia/templates/malaysia/rack_view.html b/app/modules/malaysia/templates/malaysia/rack_view.html index fca0f3a..acfd733 100644 --- a/app/modules/malaysia/templates/malaysia/rack_view.html +++ b/app/modules/malaysia/templates/malaysia/rack_view.html @@ -84,9 +84,10 @@ width:100% !important; height:100vh !important; aspect-ratio:auto !important; box-shadow:none !important; border-radius:0 !important; padding:2mm !important; - break-after:page; page-break-after:always; + /* break-before 가 Chrome에서 더 안정적: 첫 칸 제외 매 칸을 새 장으로. */ + break-before:page; page-break-before:always; } - .rvp-sheet:last-child { break-after:auto; page-break-after:auto; } + .rvp-sheet:first-child { break-before:auto; page-break-before:auto; } /* 인쇄 시 글씨 더 크게(멀리서도 보이게) — cm 기준. 칸에 상품이 1개일 때 기준. 2개·3개 이상이면 한 장에 다 들어가도록 단계 축소. */ .rvp-line .rvp-name { font-size:2.6cm; }