Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Fix: Updated Medium CSS Print Media
Browse files Browse the repository at this point in the history
Print Media wasn't working on all sites, but now it should
  • Loading branch information
nizarmah committed Apr 11, 2020
1 parent 9b484a2 commit 70251e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions css/medium.com.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
@media print {
pre,
figure.paragraph-image {
page-break-inside: avoid !important;
page-break-before: auto !important;
}

.tu.r.tv.tw,
.ot.hc.n.dg.p,
section.dl.dm.dn.do.dp:last-child {
div#root > div > :not(article) {
display: none !important;
}
}

0 comments on commit 70251e3

Please sign in to comment.