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