feat: 实现 Chromium PDF 导出与精确预览

This commit is contained in:
SkyJourney
2026-07-26 13:21:17 +08:00
parent d62552384f
commit d1b5880a5b
26 changed files with 3328 additions and 316 deletions
+3 -4
View File
@@ -368,6 +368,9 @@ html[data-render-target="preview"] body {
html[data-render-target="pdf"],
html[data-render-target="pdf"] body {
height: auto !important;
min-height: 0 !important;
overflow: visible !important;
background: #fff !important;
}
@@ -382,10 +385,6 @@ html[data-render-target="pdf"] .pagedjs_page {
box-shadow: none;
break-after: page;
}
html[data-render-target="pdf"] .pagedjs_page:last-child {
break-after: auto;
}
`;
}