more printing fixes

This commit is contained in:
NilsUeter
2023-05-08 18:55:38 +02:00
parent bed08c5de3
commit d86d6bc345
2 changed files with 3 additions and 3 deletions
+1 -3
View File
@@ -14,9 +14,6 @@ export const Roster = ({ roster, onePerPage }) => {
<div
style={{
position: "relative",
display: "flex",
flexDirection: "column",
gap: 32,
"--primary-color": primaryColor,
"--primary-color-transparent": primaryColor + "60",
}}
@@ -170,6 +167,7 @@ const Unit = ({ unit, index, catalog, onePerPage }) => {
fontWeight: 500,
border: "2px solid var(--primary-color)",
backgroundColor: "#DFE0E2",
marginBottom: 32,
}}
>
<div
+2
View File
@@ -155,10 +155,12 @@ button:focus-visible {
.avoid-page-break {
position: relative;
page-break-inside: avoid;
break-inside: avoid;
}
.page-break {
page-break-before: page;
break-before: page;
}