From 2491c3e33581c8a18a8581b92aa66678e3e6eb6d Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 29 Aug 2016 11:31:35 +0530 Subject: [PATCH] [minor] fix for pdf print --- frappe/templates/styles/standard.css | 4 ++-- frappe/utils/pdf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frappe/templates/styles/standard.css b/frappe/templates/styles/standard.css index d09c1e1852..00fd813af7 100644 --- a/frappe/templates/styles/standard.css +++ b/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; diff --git a/frappe/utils/pdf.py b/frappe/utils/pdf.py index 8c33022191..07031864a7 100644 --- a/frappe/utils/pdf.py +++ b/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