From 2114f602de28d1067389e96d71dd46b175406e96 Mon Sep 17 00:00:00 2001 From: liangzai <2440983361@qq.com> Date: Wed, 11 Mar 2026 18:12:14 +0800 Subject: [PATCH] f --- resources/qiye.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/qiye.html b/resources/qiye.html index 67acf41..05c8021 100644 --- a/resources/qiye.html +++ b/resources/qiye.html @@ -470,13 +470,16 @@ .header-score .score { font-size: 26px; } - /* 主体卡片:去阴影,避免被分页截断 */ + /* 主体卡片:去阴影,且压缩上下间距,减少被整体挤到下一页的概率 */ .section-card { box-shadow: none; border-radius: 0; /* 允许在模块内部分页,减少页面底部的空白 */ page-break-inside: auto; break-inside: auto; + /* 覆盖默认较大的 padding / margin,打印时更紧凑 */ + padding: 8px 0 10px !important; + margin-top: 6px !important; } /* 模块标题也允许在页尾被拆分,避免整块下移造成大面积空白 */ .section-card h2 {