ai2html icon indicating copy to clipboard operation
ai2html copied to clipboard

Better printing through avoiding page breaks

Open jscher2000 opened this issue 5 years ago • 1 comments

Saw the beautiful graphs here:

https://www.nytimes.com/interactive/2020/10/02/science/charting-a-coronavirus-infection.html

Supporting paged media might not be a goal of this project, but please consider adding something like the following so that the entire graphic stays together as a unit in printouts/PDFs:

.ai2html > .g-artboard {
  page-break-inside: avoid;
}

(I can't tell where this should go.)

jscher2000 avatar Oct 03 '20 20:10 jscher2000

Thanks for raising this. We didn't realize this was even an option.

On Sat, Oct 3, 2020 at 4:23 PM Jefferson Scher [email protected] wrote:

Saw the beautiful graphs here:

https://www.nytimes.com/interactive/2020/10/02/science/charting-a-coronavirus-infection.html

Supporting paged media might not be a goal of this project, but please consider adding something like the following so that the entire graphic stays together as a unit in printouts/PDFs:

.ai2html > .g-artboard { page-break-inside: avoid; }

(I can't tell where this should go.)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/newsdev/ai2html/issues/135, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMZAWTEJTA5P7FODYNELULSI6B4PANCNFSM4SDHLKKA .

archietse avatar Oct 03 '20 21:10 archietse