Skip to content

Commit

Permalink
Merge pull request #388 from Princeton-CDH/pdf-img-height
Browse files Browse the repository at this point in the history
PDF styles to avoid whitespace
  • Loading branch information
gwijthoff authored Dec 10, 2024
2 parents d6c0ed8 + 082ba10 commit 11726be
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/issues/5/casting-in-reverse/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* adjust image sizes to reduce PDF whitespace */
@media print{
img[src$="fig1-lion-horse.jpg"] {
max-height: 75%;
}
img[src$="fig4-scaled-w-mold.jpg"] {
max-height: 75%;
}
img[src$="fig9-sketchfab-frog-still.png"] {
max-height: 50%;
}
}

0 comments on commit 11726be

Please sign in to comment.