浏览代码

[minor] fix for pdf print

version-14
Rushabh Mehta 9 年前
父节点
当前提交
2491c3e335
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. +2
    -2
      frappe/templates/styles/standard.css
  2. +1
    -1
      frappe/utils/pdf.py

+ 2
- 2
frappe/templates/styles/standard.css 查看文件

@@ -67,8 +67,8 @@
width: 100%;
height: 0;
padding: 50% 0;
/*background-size: contain;*/
background-size: cover;
background-size: contain;
/*background-size: cover;*/
background-repeat: no-repeat;
background-position: center center;
border-radius: 4px;


+ 1
- 1
frappe/utils/pdf.py 查看文件

@@ -49,7 +49,7 @@ def prepare_options(html, options):
'background': None,
'images': None,
'quiet': None,
'no-outline': None,
# 'no-outline': None,
'encoding': "UTF-8",

# defaults


正在加载...
取消
保存