testing media print style to prevent text from being cut off
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Jan 2016 18:52:43 +0000 (13:52 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Jan 2016 18:52:43 +0000 (13:52 -0500)
css/app.css
scss/_wordpress.scss

index d4f2f49..b94a919 100644 (file)
@@ -6207,7 +6207,13 @@ img.alignleft {
 
 @media print {
   #addthis_wrapper, #copyright, #respond, #blog-side-info-wrapper, #footer_address, #action-items, #crumb-line, aside, header, nav, footer {
-    display: none; } }
+    display: none; }
+  * {
+    display: inline; }
+  script, style {
+    display: none; }
+  div {
+    page-break-inside: avoid; } }
 
 h1, h2, h3, h4, h5, h6 {
   clear: both; }
index 900a3de..d9c373a 100644 (file)
@@ -239,6 +239,7 @@ img.alignleft, img.alignright, img.aligncenter, img.alignnone, div.wp-caption im
     #blog-posts-over{
 //        margin-top: -300px;
     }
+     * {     display:inline; } script, style {      display:none;  } div {     page-break-inside:avoid; }
     
 }