0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 22:22:41 +00:00

add page-break-inside to support Firefox, the laggard

This commit is contained in:
Eric Scheid
2018-05-08 11:42:04 +10:00
committed by Trevor Buckner
parent d693301c37
commit 9dd16b6dd5

View File

@@ -338,6 +338,7 @@ body {
p,blockquote,table{ p,blockquote,table{
z-index : 15; z-index : 15;
-webkit-column-break-inside : avoid; -webkit-column-break-inside : avoid;
page-break-inside : avoid;
break-inside : avoid; break-inside : avoid;
overflow: hidden; /* Firefox fix */ overflow: hidden; /* Firefox fix */
} }
@@ -356,6 +357,7 @@ body {
} }
li{ li{
-webkit-column-break-inside : avoid; -webkit-column-break-inside : avoid;
page-break-inside : avoid;
break-inside : avoid; break-inside : avoid;
} }
} }
@@ -381,6 +383,7 @@ body {
text-indent : -1em; text-indent : -1em;
list-style-type : none; list-style-type : none;
-webkit-column-break-inside : auto; -webkit-column-break-inside : auto;
page-break-inside : auto;
break-inside : auto; break-inside : auto;
} }
} }
@@ -450,6 +453,7 @@ body {
// *****************************/ // *****************************/
.phb .toc{ .phb .toc{
-webkit-column-break-inside : avoid; -webkit-column-break-inside : avoid;
page-break-inside : avoid;
break-inside : avoid; break-inside : avoid;
a{ a{
color : black; color : black;