diff --git a/app/modules/malaysia/templates/malaysia/rack_view.html b/app/modules/malaysia/templates/malaysia/rack_view.html index 58ccc49..279ff2f 100644 --- a/app/modules/malaysia/templates/malaysia/rack_view.html +++ b/app/modules/malaysia/templates/malaysia/rack_view.html @@ -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; } } {% endblock %}