upped the abmout of banner repetitions

This commit is contained in:
Lorenz Hohermuth 2024-04-07 22:24:34 +02:00
parent 8ab42a6360
commit ef871f4fbd
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import "fmt"
templ Banner(text string, icon string, colorBg string, colorText string) {
<div class={"col-span-3 text-center py-3 overflow-hidden", fmt.Sprintf("bg-[%s]", colorBg), fmt.Sprintf("text-[%s]", colorText)}
style="scrollbar-width: none; -ms-overflow-style: none;">
for i, x:= 0, 10 ; i < x ; i++ {
for i, x:= 0, 50 ; i < x ; i++ {
<div class="inline">
{text}
</div>

View File

@ -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("<div class=\"inline\">")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err