From 005c4ac800462e67027d9c64dcdbc57f91334395 Mon Sep 17 00:00:00 2001 From: David Young Date: Thu, 3 Dec 2026 15:37:13 -0700 Subject: [PATCH] Posting accounts: the grid lays out as a table Its "grid" class was also the cards' CSS grid, which set the table's header and rows side by side. Co-Authored-By: Claude Opus 5.5 --- internal/web/static/app.css | 4 ++-- internal/web/templates/posting.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/web/static/app.css b/internal/web/static/app.css index e10f6a7..2cd0dbe 100644 --- a/internal/web/static/app.css +++ b/internal/web/static/app.css @@ -492,8 +492,8 @@ fieldset.readonly { border: 0; padding: 0; margin: 0; min-width: 0; } fieldset.readonly button, fieldset.readonly input[type="submit"], fieldset.readonly input[type="file"] { display: none; } fieldset.readonly input, fieldset.readonly textarea, fieldset.readonly select { background: hsl(var(--muted)); color: hsl(var(--foreground)); } .table-scroll { overflow-x: auto; } -table.grid td, table.grid th { text-align: center; } -table.grid td:first-child, table.grid th:first-child { text-align: left; } +table.posting-grid td, table.posting-grid th { text-align: center; } +table.posting-grid td:first-child, table.posting-grid th:first-child { text-align: left; } ul.accounts { list-style: none; padding: 0; margin: 0 0 0.75rem; } ul.accounts li { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding: 0.3rem 0; border-bottom: 1px solid hsl(var(--border)); } ul.accounts form.inline { margin: 0 0 0 auto; } diff --git a/internal/web/templates/posting.html b/internal/web/templates/posting.html index 6bb2cde..5754dea 100644 --- a/internal/web/templates/posting.html +++ b/internal/web/templates/posting.html @@ -6,7 +6,7 @@ {{else}}
- +
{{range .Accounts}}{{end}} {{range $p := .People}}
Person{{.Label}}
{{if eq .Owner 0}}the company's{{else}}{{index $d.Owners .Owner}}'s own{{end}}{{if not (index $d.Working .ID)}} ยท not working{{end}}