This commit is contained in:
2026-03-11 18:12:14 +08:00
parent 5650e78254
commit 2114f602de

View File

@@ -470,13 +470,16 @@
.header-score .score { .header-score .score {
font-size: 26px; font-size: 26px;
} }
/* 主体卡片:去阴影,避免被分页截断 */ /* 主体卡片:去阴影,且压缩上下间距,减少被整体挤到下一页的概率 */
.section-card { .section-card {
box-shadow: none; box-shadow: none;
border-radius: 0; border-radius: 0;
/* 允许在模块内部分页,减少页面底部的空白 */ /* 允许在模块内部分页,减少页面底部的空白 */
page-break-inside: auto; page-break-inside: auto;
break-inside: auto; break-inside: auto;
/* 覆盖默认较大的 padding / margin打印时更紧凑 */
padding: 8px 0 10px !important;
margin-top: 6px !important;
} }
/* 模块标题也允许在页尾被拆分,避免整块下移造成大面积空白 */ /* 模块标题也允许在页尾被拆分,避免整块下移造成大面积空白 */
.section-card h2 { .section-card h2 {