From 71cf6940c0774e85d41d32e31e026fdfe6e9996a Mon Sep 17 00:00:00 2001
From: Mason James <mtj@kohaaloha.com>
Date: Tue, 3 Mar 2020 16:33:29 +1300
Subject: [PATCH] Bug 24874: Printing is broken on opac-results.pl page
 (19.11.x)
Content-Type: text/plain; charset="utf-8"

to test in 19.11.x...

- search for something in opac
- print page using file -> print
- observe printing is broken (pic1)

- apply patch

- search for something in opac
- print page using file -> print
- observe printing is fixed (pic2)

it seems this issue was introduced by bug 5287

https://bugs.koha-community.org/show_bug.cgi?id=24874
---
 koha-tmpl/opac-tmpl/bootstrap/css/print.css | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/print.css b/koha-tmpl/opac-tmpl/bootstrap/css/print.css
index 6eec50e..ed82a27 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/css/print.css
+++ b/koha-tmpl/opac-tmpl/bootstrap/css/print.css
@@ -208,7 +208,7 @@ body#basket p {
 #userresults {
     display: block;
     position: absolute;
-    right: 0;
+    left: 1;
     word-wrap: break-word;
 }
 
@@ -221,6 +221,7 @@ body#basket p {
 #action,
 #addshelf,
 #bibliodescriptions .ui-tabs-nav,
+#maincontent > .row-fluid > .span2,
 #export,
 #facetcontainer,
 #members,
@@ -264,3 +265,7 @@ td.resultscontrol,
 .table-bordered {
     border: 0;
 }
+
+@page {
+    margin: 1cm;
+}
-- 
2.1.4