fix(文书纸): 用 min-height + container-type 修正纸张高度下限与窄容器下表格溢出

This commit is contained in:
yelan
2026-09-27 14:21:24 +08:00
parent 431dd2cd6f
commit 7597b4764f
5 changed files with 43 additions and 21 deletions
@@ -207,14 +207,16 @@ defineExpose({ getDocumentElement })
}
/* 纸桌:灰底 + 内滚,纸(一页 A4)居中摆在上面。
纸自己的比例与页边距走统一 A4 规格(.doc-paper--a4,见 utils/document-paper.ts),
这里只留「桌子」—— 四周留一圈灰边,纸才不会顶到卡片边缘。 */
纸自己的 A4 最小高度与页边距走统一 A4 规格(.doc-paper--a4,见 utils/document-paper.ts),
这里只留「桌子」—— 四周留一圈灰边,纸才不会顶到卡片边缘。
`container-type` 是纸的 cqw 下限需要的容器查询上下文。 */
.sign-doc-body {
flex: 1;
min-height: 0;
padding: 16px 20px 20px;
overflow: auto;
background: var(--bg);
container-type: inline-size;
}
.sign-doc-footer {