Bug 5665: Routing slip prints too wide for narrow printers
authorReed Wade <reed@catalyst.net.nz>
Mon, 31 Jan 2011 10:14:08 +0000 (10:14 +0000)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 1 Feb 2011 19:49:38 +0000 (14:49 -0500)
This patch switches off some min-width styling which causes right hand
of page to be clipped.

Work sponsored by Opus

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 241fa939b48b2eb7e87360f2e47073df0b64af25)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tmpl

index d55ec74..3180337 100644 (file)
@@ -4,7 +4,10 @@
 
 <style type="text/css">
    #custom-doc { width:38.46em;*width:37.53em;min-width:500px; margin:auto; text-align:left; }
-   </style>
+</style>
+<style type="text/css" media="print">
+   .yui-t7, #custom-doc { min-width:0; width:auto; }
+</style>
 </head>
 <body>
 
@@ -25,7 +28,7 @@
 </table>
 <p><b>Notes:</b> Please return this item promptly as others are waiting for it.
 <br /><!-- TMPL_VAR NAME="routingnotes" --></p>
-   <div id="slip-block-links">
+   <div id="slip-block-links" class="noprint">
    <a class="button" href="javascript:window.print();self.close()">Print</a> &nbsp; <a class="button" href="javascript:self.close()">Close</a>
    </div>