mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 20:42:44 +00:00
Merge pull request #3965 from naturalcrit/ImplementContentVisibility
Implement content-visibility on pages
This commit is contained in:
@@ -58,7 +58,9 @@ body {
|
|||||||
text-rendering : optimizeLegibility;
|
text-rendering : optimizeLegibility;
|
||||||
page-break-before : always;
|
page-break-before : always;
|
||||||
page-break-after : always;
|
page-break-after : always;
|
||||||
contain : size;
|
contain : strict;
|
||||||
|
content-visibility : auto;
|
||||||
|
contain-intrinsic-size : auto none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phb{
|
.phb{
|
||||||
|
|||||||
@@ -54,10 +54,12 @@ body { counter-reset : page-numbers 0; }
|
|||||||
overflow : hidden;
|
overflow : hidden;
|
||||||
background-color : var(--HB_Color_Background);
|
background-color : var(--HB_Color_Background);
|
||||||
text-rendering : optimizeLegibility;
|
text-rendering : optimizeLegibility;
|
||||||
contain : size;
|
contain : strict;
|
||||||
|
content-visibility : auto;
|
||||||
|
contain-intrinsic-size : auto none;
|
||||||
}
|
}
|
||||||
//*****************************
|
//*****************************
|
||||||
// * BASE
|
// * BASE
|
||||||
// *****************************/
|
// *****************************/
|
||||||
.page {
|
.page {
|
||||||
p {
|
p {
|
||||||
|
|||||||
Reference in New Issue
Block a user