fix: print preview table overflow
This commit is contained in:
parent
2a88949279
commit
cef08f4437
2 changed files with 2 additions and 2 deletions
|
|
@ -412,7 +412,7 @@ frappe.ui.form.PrintView = class {
|
|||
);
|
||||
|
||||
this.$print_format_body.find('body').html(
|
||||
`<div class="print-format">${out.html}</div>`
|
||||
`<div class="print-format print-format-preview">${out.html}</div>`
|
||||
);
|
||||
|
||||
this.show_footer();
|
||||
|
|
|
|||
|
|
@ -178,6 +178,6 @@ table td div {
|
|||
max-height: 150px;
|
||||
}
|
||||
|
||||
.print-preview [data-fieldtype="Table"] {
|
||||
.print-format-preview [data-fieldtype="Table"] {
|
||||
overflow: auto;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue