From 78f5008f091acd11ac32f4f42db0b8dccb29b0ed Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 3 Oct 2016 17:12:47 +0530 Subject: [PATCH] [fix] modern print format --- frappe/templates/styles/modern.css | 3 +++ frappe/templates/styles/standard.css | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/frappe/templates/styles/modern.css b/frappe/templates/styles/modern.css index a0ee287b5f..72b8c0cd71 100644 --- a/frappe/templates/styles/modern.css +++ b/frappe/templates/styles/modern.css @@ -1,4 +1,7 @@ .print-heading { + text-align: right; + text-transform: uppercase; + color: #666; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #d1d8dd; diff --git a/frappe/templates/styles/standard.css b/frappe/templates/styles/standard.css index 56e4479cf4..262f6d44bc 100644 --- a/frappe/templates/styles/standard.css +++ b/frappe/templates/styles/standard.css @@ -74,6 +74,11 @@ border-radius: 4px; } +.print-item-image { + max-height: 110px; + object-fit: contain; +} + .pdf-variables, .pdf-variable, .visible-pdf {