diff --git a/src/components/SwissInvoice.tsx b/src/components/SwissInvoice.tsx index 6ca0fb5..1b8bb24 100644 --- a/src/components/SwissInvoice.tsx +++ b/src/components/SwissInvoice.tsx @@ -133,8 +133,13 @@ const SwissInvoice: Component<
{props.children}
); + // Important: pt-px was added because: break-inside-avoid with the top-border results in a wrong pagebreak in chrome, + // the top-border remained on the first page and only the rest of the invoice was on the second page. + // AND: this only happend if scroll position was at the bottom. + // FIXME: Chrome should fix the break-inside-avoid calculation, when chrome has fixed their issue the pt-px can be removed. + return ( -
+
Empfangsschein