From de6dc52cddabad34f176ba9e2bfa707d963d5901 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 10 May 2013 14:44:10 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 10108 - can't print more than one page of overdues Printing a report like overdues in Firefox results in a printout which cuts off in the middle. I traced the cause to something in the YUI grid system, although I'm not sure what specific definition is the cause. This patch adds a "screen" parameter to the @import which loads the YUI grid CSS file. This will disable YUI grid layouts in print views. The main disadvantage to this, as far as I can tell, is that it will "linearize" some layouts. For instance: the patron detail page (moremember.pl) which on screen is divided into two columns. I think this disadvantage is outweighed by the ability to make complete prints. To test, apply the patch and clear your cache. Try printing various reports from Firefox. Printouts should look correct and be complete. Signed-off-by: Nicole C. Engard all tests pass --- .../intranet-tmpl/prog/en/css/staff-global.css | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 8f99a11..eea165c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1,4 +1,4 @@ -@import url("../lib/yui/reset-fonts-grids.css"); +@import url("../lib/yui/reset-fonts-grids.css") screen; @import url("../lib/yui/skin.css"); input:focus, textarea:focus { -- 1.7.2.3