From ef871f4fbdf808b96b2bc5e4d3fb0e73f6fe7989 Mon Sep 17 00:00:00 2001 From: lorenzhohermuth Date: Sun, 7 Apr 2024 22:24:34 +0200 Subject: [PATCH] upped the abmout of banner repetitions --- view/component/banner.templ | 2 +- view/component/banner_templ.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/view/component/banner.templ b/view/component/banner.templ index 4e65ba6..da37f02 100644 --- a/view/component/banner.templ +++ b/view/component/banner.templ @@ -5,7 +5,7 @@ import "fmt" templ Banner(text string, icon string, colorBg string, colorText string) {
- for i, x:= 0, 10 ; i < x ; i++ { + for i, x:= 0, 50 ; i < x ; i++ {
{text}
diff --git a/view/component/banner_templ.go b/view/component/banner_templ.go index 55dd6ef..c43a84f 100644 --- a/view/component/banner_templ.go +++ b/view/component/banner_templ.go @@ -47,7 +47,7 @@ func Banner(text string, icon string, colorBg string, colorText string) templ.Co if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - for i, x := 0, 10; i < x; i++ { + for i, x := 0, 50; i < x; i++ { _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err