소스 검색

Fix footer overlap in print preview (#3866)

version-14
Faris Ansari 8 년 전
committed by Rushabh Mehta
부모
커밋
0a3d5c7f07
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. +6
    -3
      frappe/public/js/frappe/form/print.js

+ 6
- 3
frappe/public/js/frappe/form/print.js 파일 보기

@@ -132,11 +132,14 @@ frappe.ui.form.PrintPreview = Class.extend({
show_footer: function() {
// footer is hidden by default as reqd by pdf generation
// simple hack to show it in print preview
this.wrapper.find('.print-format').css('position', 'relative');
this.wrapper.find('.page-break').css({
'display': 'flex',
'flex-direction': 'column'
});
this.wrapper.find('#footer-html').attr('style', `
display: block !important;
position: absolute;
bottom: 0.75in;
order: 1;
margin-top: 20px;
`);
},
printit: function () {


불러오는 중...
취소
저장