fix: print preview table overflow

This commit is contained in:
prssanna 2020-11-10 17:56:39 +05:30
parent 2a88949279
commit cef08f4437
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -178,6 +178,6 @@ table td div {
max-height: 150px;
}
.print-preview [data-fieldtype="Table"] {
.print-format-preview [data-fieldtype="Table"] {
overflow: auto;
}