add some margins to the index page

resize form
This commit is contained in:
Robin Olsen
2026-02-13 13:41:24 +01:00
parent cc1f84a4bd
commit aaf8eacf3c
9 changed files with 1286 additions and 231 deletions

View File

@@ -6,6 +6,7 @@ type InputProps struct {
Label string
Type string // defaults to "text"
Value string
Class string
Placeholder string
Description string
Error string
@@ -37,7 +38,7 @@ templ Input(props InputProps) {
<label
for={ props.Name }
class={
"input validator tooltip tooltip-top",
"input validator tooltip tooltip-top", props.Class,
templ.KV("tooltip tooltip-top", props.DisabledMessage != ""),
templ.KV("input-xs", props.Size == "xs"),
templ.KV("input-sm", props.Size == "sm"),