4,554
edits
No edit summary |
No edit summary |
||
Line 274: | Line 274: | ||
margin-top: 0 !important; | margin-top: 0 !important; | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
} | } | ||
Line 433: | Line 426: | ||
page-break-after: avoid !important; | page-break-after: avoid !important; | ||
break-after: avoid !important; | break-after: avoid !important; | ||
} | } | ||
Line 457: | Line 440: | ||
} | } | ||
/* === | /* === Allow body paragraphs to split so we don't leave big gaps === */ | ||
@media print | @media print { | ||
.article | .article-description p, | ||
.article | .article-reflection p, | ||
.article | .article-external-reference p, | ||
.article | .article-quote p { | ||
/* let paragraphs break across pages */ | |||
page-break- | page-break-inside: auto !important; | ||
break- | break-inside: auto !important; | ||
/* keep things looking tidy without forcing a full-paragraph jump */ | |||
orphans: 2 !important; | |||
widows: 2 !important; | |||
} | } | ||
} | |||
/* Blink-specific safety (overrides any earlier "avoid" in your Blink block) */ | |||
@media print and (-webkit-min-device-pixel-ratio:0) { | |||
.article-description p, | |||
.article | .article-reflection p, | ||
.article-external-reference p, | |||
page-break- | .article-quote p { | ||
break- | page-break-inside: auto !important; | ||
break-inside: auto !important; | |||
orphans: 2 !important; | |||
widows: 2 !important; | |||
} | } | ||
} | } |