From: Shaun Simmons Date: Wed, 21 Dec 2016 07:43:10 +0000 (-0500) Subject: Helper class for page breaks inside elements X-Git-Tag: 6.3.1~37^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=739fede6bf34d68fbd06da0820e9124aaf3761f9;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Helper class for page breaks inside elements --- diff --git a/scss/typography/_print.scss b/scss/typography/_print.scss index 2de0fa9aa..25255b854 100644 --- a/scss/typography/_print.scss +++ b/scss/typography/_print.scss @@ -77,5 +77,10 @@ $print-hrefs: true !default; // Avoid page breaks after a heading h2, h3 { page-break-after: avoid; } + + // Helper to re-allow page breaks in the middle of certain elements (e.g. pre, blockquote, tr) + .print-break-inside { + page-break-inside: auto; + } } }