From 9dd16b6dd5805f01385fc74df100404977fd3549 Mon Sep 17 00:00:00 2001 From: Eric Scheid Date: Tue, 8 May 2018 11:42:04 +1000 Subject: [PATCH] add page-break-inside to support Firefox, the laggard --- client/homebrew/phbStyle/phb.style.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/homebrew/phbStyle/phb.style.less b/client/homebrew/phbStyle/phb.style.less index afa072fe8..3a1315849 100644 --- a/client/homebrew/phbStyle/phb.style.less +++ b/client/homebrew/phbStyle/phb.style.less @@ -338,6 +338,7 @@ body { p,blockquote,table{ z-index : 15; -webkit-column-break-inside : avoid; + page-break-inside : avoid; break-inside : avoid; overflow: hidden; /* Firefox fix */ } @@ -356,6 +357,7 @@ body { } li{ -webkit-column-break-inside : avoid; + page-break-inside : avoid; break-inside : avoid; } } @@ -381,6 +383,7 @@ body { text-indent : -1em; list-style-type : none; -webkit-column-break-inside : auto; + page-break-inside : auto; break-inside : auto; } } @@ -450,6 +453,7 @@ body { // *****************************/ .phb .toc{ -webkit-column-break-inside : avoid; + page-break-inside : avoid; break-inside : avoid; a{ color : black;