From 995106136a04be1d2c03a2692261f08c4f670ccf Mon Sep 17 00:00:00 2001 From: Craig Brinck Date: Thu, 27 Oct 2022 09:38:17 -0400 Subject: [PATCH] Adjusted zoom level for printing to pdf --- ipycalc/ipycalc/static/ipycalc.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ipycalc/ipycalc/static/ipycalc.css b/ipycalc/ipycalc/static/ipycalc.css index 58aa360..5ccf90d 100644 --- a/ipycalc/ipycalc/static/ipycalc.css +++ b/ipycalc/ipycalc/static/ipycalc.css @@ -1,6 +1,6 @@ @page { margin: 0.5in; // margin for each printed piece of paper - } +} @page :first { margin-top: 0.5in; // top margin for first page of paper @@ -12,7 +12,8 @@ @media print { body { - margin: 0; // + margin: 0; // + zoom: 85%; // Helps wider content fit the paper better } }