more printing fixes
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user