From da0a5b2bd63027102dd61789fc455941e237abc9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 2 May 2011 15:27:54 -0400 Subject: [PATCH] Fix for Bug 6291, Cart printing truncated in Firefox Implementing 100% width and height on ,
, and as suggested by this post: http://www.piglets.org/serendipity/archives/45-Fixing-truncated-printing-with-Firefox.html Signed-off-by: Nicole Engard Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/css/print.css | 9 +++++++-- koha-tmpl/opac-tmpl/prog/en/css/print.css | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/print.css b/koha-tmpl/intranet-tmpl/prog/en/css/print.css index 955b68b321..d2ad9055f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/print.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/print.css @@ -17,7 +17,7 @@ body { background-color : #FFF; color : #333333; font-family : arial, geneva, sans-serif; - font-size : 14px; + font-size : 12px; margin : 0px 0px 0px 0px; } @@ -94,7 +94,8 @@ table { border-left : 1px solid #CCCCCC; margin : 3px 0px 5px 0px; padding : 0px; - width : 99%; + width : 100%; + height : 100%; } table.list { @@ -114,6 +115,8 @@ td { border-left : 0; font-size : 12px; padding : 5px 5px 5px 5px; + width : 100%; + height : 100%; } td:last-child { @@ -124,6 +127,8 @@ td:last-child { border-left : 0; font-size : 12px; padding : 5px 5px 5px 5px; + width : 100%; + height : 100%; } table.list th { diff --git a/koha-tmpl/opac-tmpl/prog/en/css/print.css b/koha-tmpl/opac-tmpl/prog/en/css/print.css index 85df351718..53db2bc910 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/print.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/print.css @@ -17,7 +17,7 @@ body { background-color : #FFF; color : #333333; font-family : arial, geneva, sans-serif; - font-size : 14px; + font-size : 12px; margin : 0px 0px 0px 0px; } @@ -98,7 +98,8 @@ table { border-left : 0px solid #CCCCCC; margin : 3px 0px 5px 0px; padding : 0px; - width : 99%; + width : 100%; + height : 100%; } td { @@ -107,6 +108,8 @@ td { border-right : 1px solid #CCCCCC; padding : 5px 5px 5px 5px; vertical-align : top; + width : 100%; + height : 100%; } td:last-child { @@ -123,6 +126,8 @@ th { border-right : 1px solid #CCCCCC; font-weight : bold; padding : 5px 5px 5px 5px; + width: 100%; + height : 100%; } th:last-child { -- 2.39.5