From 9dc7cbcb07623939ffa66a62db1ede4a7ba242b5 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 17 Jan 2026 23:50:22 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/journal-entry.html | 38 ++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/frontend/journal-entry.html b/frontend/journal-entry.html index 77302d8..de765ee 100644 --- a/frontend/journal-entry.html +++ b/frontend/journal-entry.html @@ -56,7 +56,11 @@ } @media print { @page { - margin: 20mm; + margin: 20mm 20mm 25mm 20mm; + @bottom-center { + content: "ページ " counter(page); + font-size: 0.75em; + } } body * { visibility: hidden; @@ -90,11 +94,7 @@ text-align: right; } .page-number { - display: block; - text-align: center; - margin-top: 10px; - font-size: 0.9em; - color: #666; + display: none !important; } #printArea table { font-size: 0.85em; @@ -1181,7 +1181,7 @@ const conditionsText = conditions.length > 0 ? conditions.join(" | ") : "検索条件: すべて"; - // 月ごとにテーブルを生成(印刷用) + // 月ごとにテーブルを生成(印刷用) Object.keys(monthGroups) .sort() .forEach((month, index) => { @@ -1200,13 +1200,15 @@ } section.innerHTML = ` -

仕訳検索結果

- + + + + + + + @@ -1365,13 +1367,15 @@ } section.innerHTML = ` -

仕訳検索結果

-
仕訳検索結果
${conditionsText}${monthDisplay}
日付 摘要
+ + + + + + +
仕訳検索結果
${conditionsText}${monthDisplay}
日付 摘要