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

打印时强制分页 #3

Open
saicoco opened this issue May 15, 2019 · 3 comments
Open

打印时强制分页 #3

saicoco opened this issue May 15, 2019 · 3 comments

Comments

@saicoco
Copy link

saicoco commented May 15, 2019

某一块内容很多时容易导致前一页空白很多区域

@NewFuture
Copy link
Owner

page-break-inside: avoid;

这个去掉就能自动分页

@saicoco
Copy link
Author

saicoco commented May 15, 2019

ok, 我试一下,3q;不熟悉前端,尝试把avoid改成auto没成功实现自动分页

@NewFuture
Copy link
Owner

不过这个尽量把打印显示的内容压缩到一页比较好

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