From 75f0a9f7559bac2a8b9b8efc7f5afe7917c9c60c Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Sun, 25 Dec 2016 23:14:04 -0500 Subject: [PATCH] Fixed black boxes on print to pdf --- changelog.md | 1 + client/homebrew/phbStyle/phb.style.less | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/changelog.md b/changelog.md index 481bcb572..87bd61bf3 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,7 @@ - Removing support for Docker. I have never used it, nor will I ever test for it, so I don't want to continue to explictly support it on this repo. Feel free to make a fork and make it docker-able though :) - Changed icon for the metadata - Made links useable in footer (thanks u/Dustfinger1 re:249) +- Added print media queries to remove box shadow on print (thanks u/dmmagic re: 246) diff --git a/client/homebrew/phbStyle/phb.style.less b/client/homebrew/phbStyle/phb.style.less index d1d6ba4f9..00ae8683b 100644 --- a/client/homebrew/phbStyle/phb.style.less +++ b/client/homebrew/phbStyle/phb.style.less @@ -391,6 +391,11 @@ body { box-shadow : none; } } +@media print { + .phb .descriptive, .phb blockquote{ + box-shadow : none; + } +} //***************************** // * WIDE // *****************************/