From aa436542c4328abfd80f45d6a797187f31a0f64f Mon Sep 17 00:00:00 2001 From: "Ruidy (aider)" Date: Tue, 24 Dec 2024 17:57:05 +0100 Subject: [PATCH] style: Improve page layout with wider container and added margin --- internal/view/reports.templ | 6 +++--- internal/view/reports_templ.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/view/reports.templ b/internal/view/reports.templ index 3cebfc3..e9c4770 100644 --- a/internal/view/reports.templ +++ b/internal/view/reports.templ @@ -7,13 +7,13 @@ import ( templ Reports(months []string, m int, year string) { @layout.BaseLayout() { -
+

Reports

Generate monthly and yearly statements

-
+
Period @@ -56,6 +56,6 @@ templ Reports(months []string, m int, year string) {
-
+
} } diff --git a/internal/view/reports_templ.go b/internal/view/reports_templ.go index 92a6dc3..4da17f9 100644 --- a/internal/view/reports_templ.go +++ b/internal/view/reports_templ.go @@ -46,7 +46,7 @@ func Reports(months []string, m int, year string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Reports

Generate monthly and yearly statements

Period
Period
") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }