fix(malaysia): 랙 인쇄 페이지 분리를 break-before 로 변경
break-after:page 가 Chrome에서 100vh 시트에 무시돼 여러 파렛트가 한 장에 인쇄되던 문제. 첫 칸 제외 매 칸에 break-before:page 적용해 파렛트마다 새 장으로 확실히 분리. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user