JustCarmen / webtrees-fancy-treeview

Fancy Treeview Module for webtrees
http://justcarmen.nl
GNU General Public License v3.0
21 stars 9 forks source link

Ugly page breaks when printing #139

Open reteP-riS opened 9 months ago

reteP-riS commented 9 months ago

When printing ancestors or descendants from this module ugly page breaks occur every now and then. Sometimes writing and even photos are split over two pages.

Any idea how to fix this, maybe with page-break-inside:avoid?

UglyPageBreaks

reteP-riS commented 3 months ago

I just installed the latest Fancy TreeView release v2.0.5 on top of webtrees v2.1.20. The printout looks perfect with the latest version of MS Edge Version v125.0.2535.67. That's really nice - thanks! Unfortunatly the fixes don't seem to work with the latest version of Firefox v126.0. Although I can see the CSS changes break-after:avoid, break-before:avoid and break-inside:avoid with the developer tools they don't have the intended effect.

JustCarmen commented 3 months ago

I see what you mean. I need to dive into this. I'll reopen this issue.