fix(malaysia): 창고 POG 인쇄 시 grid 깨짐 수정(6열 복구)

container-type:size 가 인쇄에서 자식 grid 를 3열로 깨는 Chrome
버그 회피 — 인쇄 전용으로 containment 해제, 글자·여백 mm 고정,
시트 height:210mm(A4 가로 1면=1장). 화면 미리보기는 cqh 유지.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 00:24:21 +09:00
parent b0925b86a1
commit 1424772afa
@@ -168,13 +168,28 @@
}
body.printing-pog .pog-toolbar { display:none !important; }
body.printing-pog .pog-pages { display:block !important; }
/* 면(시트)마다 한 장. height:100vh → 컨테이너=페이지라 cqh 가 그대로 맞음 */
/* 면(시트)마다 한 장(A4 가로). container-type:size 가 인쇄 시 자식 grid 를
깨는 Chrome 버그 회피 → containment 해제하고 글자/여백은 mm 로 고정.
(화면 미리보기는 위쪽 cqh 그대로 사용) */
body.printing-pog .pog-sheet {
width:100% !important; height:100vh !important; aspect-ratio:auto !important;
container-type:normal !important;
width:100% !important; height:210mm !important; aspect-ratio:auto !important;
padding:6mm 5mm !important;
box-shadow:none !important; border-radius:0 !important;
page-break-inside:avoid; break-before:page; page-break-before:always;
}
body.printing-pog .pog-sheet:first-child { break-before:auto; page-break-before:auto; }
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-head {
font-size:3.6mm !important; margin-bottom:1mm !important; padding-bottom:0.8mm !important;
}
body.printing-pog .pog-sheet .rv-items { gap:1mm !important; }
body.printing-pog .pog-sheet .rv-item { font-size:3.6mm !important; }
body.printing-pog .pog-sheet .rv-empty-note { font-size:3.6mm !important; }
}
</style>
{% endblock %}