Skip to content

Commit

Permalink
Adjusted zoom level for printing to pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
JWock82 committed Oct 27, 2022
1 parent 153e450 commit 9951061
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ipycalc/ipycalc/static/ipycalc.css
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -12,7 +12,8 @@

@media print {
body {
margin: 0; //
margin: 0; //
zoom: 85%; // Helps wider content fit the paper better
}
}

Expand Down

0 comments on commit 9951061

Please sign in to comment.