diff --git a/public/css/tw-input.css b/public/css/tw-input.css index 6f8020f..213b737 100644 --- a/public/css/tw-input.css +++ b/public/css/tw-input.css @@ -79,7 +79,7 @@ button[hx-get], button[hx-post], button[type="submit"] { - padding: 0 0.25em; + padding: 0.25em 0.75em; } button:disabled { diff --git a/server/router/pages/user.templ b/server/router/pages/user.templ index 5f1a793..1e9b42b 100644 --- a/server/router/pages/user.templ +++ b/server/router/pages/user.templ @@ -16,7 +16,7 @@ templ User(user *types.User, errors *types.UserEditError) {
@components.Figlet("random", "user")
id
{ strconv.Itoa(user.Id) }
-
name
+
name
- { user.Name } + { user.Name } - -
if errors != nil && errors.Name != "" { -
{ errors.Name }
+
{ errors.Name }
} else { - + }
+
+ + + +
joined
{ user.CreatedAt.Format(time.DateOnly) }
-
sats
+
sats
-
- { strconv.Itoa(int(user.Msats) / 1000) } - -
+
{ strconv.Itoa(int(user.Msats) / 1000) }
+ - +