This commit is contained in:
2026-04-21 14:51:44 +09:00
parent 75f9590e45
commit c3202d0b92
4 changed files with 41 additions and 17 deletions

View File

@@ -25,6 +25,9 @@
html,
body {
background: #ffffff !important;
width: auto !important;
height: auto !important;
overflow: hidden !important;
}
body {
@@ -32,16 +35,35 @@
margin: 0;
}
main {
min-height: auto !important;
margin: 0 !important;
padding: 0 !important;
}
.print-hidden {
display: none !important;
}
.print-only {
display: block !important;
display: flex !important;
width: 100% !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
align-items: center;
justify-content: center;
break-inside: avoid-page;
page-break-inside: avoid;
break-after: avoid-page;
page-break-after: avoid;
}
.print-root {
display: block !important;
width: 100% !important;
height: 100% !important;
margin: 0 !important;
max-width: none !important;
padding: 0 !important;
gap: 0 !important;
@@ -57,26 +79,26 @@
}
body[data-print-layout='single'] .print-paper {
width: 202mm;
height: 289mm;
width: 206mm;
height: 293mm;
}
.print-paper--double {
display: grid !important;
grid-template-columns: repeat(2, 143mm);
grid-template-columns: repeat(2, 141mm);
justify-content: center;
align-content: center;
gap: 0;
column-gap: 3mm;
}
body[data-print-layout='double'] .print-paper {
width: 289mm;
height: 202mm;
width: 287mm;
height: 198mm;
}
body[data-print-layout='single'] .print-paper--single .print-sheet-frame {
width: 148mm;
height: 210mm;
width: 152mm;
height: 216mm;
}
.print-sheet-frame {
@@ -88,8 +110,8 @@
}
body[data-print-layout='double'] .print-paper--double .print-sheet-frame {
width: 143mm;
height: 202mm;
width: 141mm;
height: 198mm;
}
.planner-sheet {
@@ -100,7 +122,7 @@
width: 762px !important;
max-width: none !important;
transform-origin: top left;
transform: scale(0.718);
transform: scale(0.732);
box-shadow: none !important;
background: #ffffff !important;
}
@@ -109,7 +131,7 @@
width: 762px !important;
max-width: none !important;
transform-origin: top left;
transform: scale(0.703);
transform: scale(0.694);
box-shadow: none !important;
background: #ffffff !important;
}