CSS table print page bug...
Wow... I really wasted over 16 hours because of this. When printing CSS tables. When printing, some people use tables. Whether they're making a PDF or whatever.
Wow... I really wasted over 16 hours because of this.
When printing CSS tables.
When printing, some people use tables.
Whether they're making a PDF or whatever.
But when it goes beyond 2 pages, the height of a tr can sometimes become bizarrely large.
The reason is that display: flex; is being used. If you use flex inside a table, whether on a div or anywhere else, problems inevitably occur in print areas spanning more than 2 pages, at the point where one page breaks onto the next.
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1524#issuecomment-708958565