break before img

master
km0 3 years ago
parent 2f18c1fe9c
commit d24b44dae9

@ -51,7 +51,8 @@
.cover, .cover,
.contributions, .contributions,
.contribution, .contribution,
.index { .index,
.content img {
break-before: page; break-before: page;
} }

@ -144,6 +144,12 @@ dd {
} }
.content img {
width: 100%;
object-fit: contain;
height: auto;
}
@namespace svg url(http://www.w3.org/2000/svg); @namespace svg url(http://www.w3.org/2000/svg);
/* Necessary to select only SVG <a> elements, and not also HTML's. /* Necessary to select only SVG <a> elements, and not also HTML's.
See warning below */ See warning below */

Loading…
Cancel
Save