Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF导出问题 #59

Open
zyc649 opened this issue Sep 25, 2022 · 3 comments
Open

PDF导出问题 #59

zyc649 opened this issue Sep 25, 2022 · 3 comments

Comments

@zyc649
Copy link

zyc649 commented Sep 25, 2022

更新软件后,现在PDF导出的时候一级标题以及其内容会单独占一页,我感到十分困扰。希望有方法能够实现以前那种紧凑的状态。一直很喜欢这个主题,导入PDF对于我使用非常多,十分需要谢谢!!

@UserZYF
Copy link
Owner

UserZYF commented Sep 25, 2022 via email

@zyc649
Copy link
Author

zyc649 commented Sep 25, 2022

十分感谢

@UserZYF
Copy link
Owner

UserZYF commented Sep 30, 2022

/* 避免在一级标题后插入分页符 */
@media print {
.h1 {
page-break-before: avoid !important;
}
}
可以把上面的代码放到custom.css里边,更新也不会被覆盖,具体方法可以看custom.css文件里边的介绍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants