Skip to content

Commit a2aa2bd

Browse files
committed
fix: formatting of footer table
1 parent 026abad commit a2aa2bd

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

letter_head.jinja

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
{% set address = frappe.get_doc("Address", company_address_name) if company_address_name else None %}
44

55
<table class="footer-table">
6+
<colgroup>
7+
<col style="width: 55mm;">
8+
<col style="width: 55mm;">
9+
<col style="width: 55mm;">
10+
</colgroup>
611
<tbody>
712
<tr>
813
<td>{{ company.company_name }}</td>

print_style/print_style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
width: 100%;
104104
}
105105

106-
table {
106+
table:not(.footer-table) {
107107
/* --- Nice page breaks for tables --- */
108108
page-break-inside: auto;
109109
table-layout: fixed;

0 commit comments

Comments
 (0)