diff --git a/print.css b/print.css index 93be84f..dd85e83 100644 --- a/print.css +++ b/print.css @@ -51,7 +51,8 @@ .cover, .contributions, .contribution, - .index { + .index, + .content img { break-before: page; } diff --git a/style.css b/style.css index 5228e41..8542fb4 100644 --- a/style.css +++ b/style.css @@ -144,6 +144,12 @@ dd { } +.content img { + width: 100%; + object-fit: contain; + height: auto; +} + @namespace svg url(http://www.w3.org/2000/svg); /* Necessary to select only SVG elements, and not also HTML's. See warning below */