fix(malaysia): 랙 다중 파렛트 인쇄 시 파렛트당 한 장씩 분리
미리보기 컨테이너(.rvp-pages)가 flex라 Chrome이 자식의 page-break를 무시해 여러 파렛트가 한 장에 뭉쳐 잘려 인쇄됐다. 인쇄 시 block 으로 바꾸고 break-after:page 적용해 파렛트(칸)마다 종이 한 장씩 출력. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -77,13 +77,16 @@
|
||||
background:#fff !important; overflow:visible !important;
|
||||
}
|
||||
.rvp-toolbar { display:none !important; }
|
||||
.rvp-pages { gap:0 !important; }
|
||||
/* flex 컨테이너면 Chrome이 자식의 page-break를 무시해 여러 칸이 한 장에
|
||||
뭉쳐 잘림. block 으로 바꿔 칸(파렛트)마다 한 장씩 끊어 인쇄. */
|
||||
.rvp-pages { display:block !important; gap:0 !important; }
|
||||
.rvp-sheet {
|
||||
width:100% !important; height:100vh !important; aspect-ratio:auto !important;
|
||||
box-shadow:none !important; border-radius:0 !important; page-break-after:always;
|
||||
box-shadow:none !important; border-radius:0 !important;
|
||||
padding:2mm !important;
|
||||
break-after:page; page-break-after:always;
|
||||
}
|
||||
.rvp-sheet:last-child { page-break-after:auto; }
|
||||
.rvp-sheet:last-child { break-after:auto; page-break-after:auto; }
|
||||
/* 인쇄 시 글씨 더 크게(멀리서도 보이게) — cm 기준.
|
||||
칸에 상품이 1개일 때 기준. 2개·3개 이상이면 한 장에 다 들어가도록 단계 축소. */
|
||||
.rvp-line .rvp-name { font-size:2.6cm; }
|
||||
|
||||
Reference in New Issue
Block a user