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 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 15:37:13 -07:00
co-authored by Claude Opus 5.5
parent df4759afb5
commit 005c4ac800
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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; }
+1 -1
View File
@@ -6,7 +6,7 @@
{{else}}
<form class="card" method="post" action="/settings/posting">
<div class="table-scroll">
<table class="list grid">
<table class="list posting-grid">
<thead><tr><th>Person</th>{{range .Accounts}}<th>{{.Label}}<br><span class="muted small">{{if eq .Owner 0}}the company's{{else}}{{index $d.Owners .Owner}}'s own{{end}}{{if not (index $d.Working .ID)}} · not working{{end}}</span></th>{{end}}</tr></thead>
<tbody>
{{range $p := .People}}<tr>