From 4a441a020702d13190ca15bcf2ef77680fd1041c Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 28 Jan 2016 13:52:43 -0500 Subject: [PATCH] testing media print style to prevent text from being cut off --- css/app.css | 8 +++++++- scss/_wordpress.scss | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/css/app.css b/css/app.css index d4f2f49..b94a919 100644 --- a/css/app.css +++ b/css/app.css @@ -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; } diff --git a/scss/_wordpress.scss b/scss/_wordpress.scss index 900a3de..d9c373a 100644 --- a/scss/_wordpress.scss +++ b/scss/_wordpress.scss @@ -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; } } -- 2.17.1