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