Bug 5665: Routing slip prints too wide for narrow printers

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 241fa939b4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
Reed Wade 2011-01-31 10:14:08 +00:00 committed by Chris Nighswonger
parent e4b68e97fd
commit 2e611e5666
1 changed files with 5 additions and 2 deletions

View 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>