| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- {{-- 与 pdf/exam-paper 一致:题干/选项插图上限(质检 PDF 原先缺少此段导致图过大) --}}
- /* PDF图片容器:防止图片跨页分割 - 增强版 */
- .pdf-figure {
- break-inside: avoid;
- page-break-inside: avoid;
- -webkit-column-break-inside: avoid;
- break-before: avoid;
- break-after: avoid;
- page-break-before: avoid;
- page-break-after: avoid;
- margin: 8px 0;
- display: block;
- min-height: 30px;
- max-height: 82mm;
- }
- .pdf-figure img {
- max-width: min(84%, 420px);
- max-height: 82mm;
- width: auto;
- height: auto;
- display: block;
- margin: 0 auto;
- object-fit: contain;
- box-sizing: border-box;
- -webkit-print-color-adjust: exact;
- print-color-adjust: exact;
- image-rendering: -webkit-optimize-contrast;
- }
- /* 题干中的图片样式(与常规组卷学生卷 PDF 一致) */
- .question-stem img,
- .question-main img,
- .question-content img,
- .answer-meta img,
- .answer-line img,
- .solution-content img,
- .solution-section img,
- .solution-parsed img {
- display: block;
- max-width: 220px;
- max-height: 60mm;
- width: auto;
- height: auto;
- margin: 6px auto;
- box-sizing: border-box;
- object-fit: contain;
- -webkit-print-color-adjust: exact;
- print-color-adjust: exact;
- image-rendering: -webkit-optimize-contrast;
- }
- .option img {
- display: block;
- max-width: 100%;
- max-height: 42mm;
- width: auto;
- height: auto;
- object-fit: contain;
- margin: 2px 0;
- vertical-align: top;
- }
- .option svg {
- display: block;
- max-width: 100%;
- max-height: 42mm;
- width: 100%;
- height: auto;
- margin: 2px 0;
- vertical-align: top;
- }
|