diff --git a/edivorce/apps/core/static/css/weasyprint.css b/edivorce/apps/core/static/css/weasyprint.css index e25aac61..141a6fbb 100644 --- a/edivorce/apps/core/static/css/weasyprint.css +++ b/edivorce/apps/core/static/css/weasyprint.css @@ -91,12 +91,17 @@ i.fa { table-layout: fixed; } +.table-fixed tr { + page-break-inside: avoid; +} + .table-fixed th { text-align: center; } .table-fixed td { text-align: left; + page-break-inside: avoid; } .sig-table td.underline { diff --git a/edivorce/apps/core/templates/pdf/form1.html b/edivorce/apps/core/templates/pdf/form1.html index a2b8d321..4f0b0958 100644 --- a/edivorce/apps/core/templates/pdf/form1.html +++ b/edivorce/apps/core/templates/pdf/form1.html @@ -103,7 +103,7 @@ -

2. Divorce

+

2. Divorce

@@ -412,8 +412,8 @@
-

4. Orders asked for in relation to children

- +

4. Orders asked for in relation to children

+
@@ -470,8 +470,8 @@
-

5. Spousal support

- +

5. Spousal support

+
@@ -508,7 +508,7 @@

6. Property and debt

- +
@@ -562,7 +562,7 @@

7. Other

- +
{% check_list source=responses.want_which_orders value='Other orders' as order_wanted %}