0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 18:32:40 +00:00

Merge pull request #3965 from naturalcrit/ImplementContentVisibility

Implement content-visibility on pages
This commit is contained in:
Trevor Buckner
2024-12-26 14:59:22 -05:00
committed by GitHub
2 changed files with 33 additions and 29 deletions

View File

@@ -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{

View File

@@ -54,7 +54,9 @@ 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