fix: give table cells symmetric horizontal padding

th and td were padded '... 0' on the left, so the concept column ran
flush against the pane edge and every other column sat hard against the
preceding cell's text. Group-header rows inherit the change, so they stay
aligned with the cells below them.
This commit is contained in:
meels
2026-07-28 16:53:25 +02:00
parent 605e57751c
commit ef2e2bd14f

View File

@@ -211,11 +211,14 @@
.wd-tbl th {
font-family: var(--wd-mono); font-size: 10px; letter-spacing: 0.1em;
text-transform: uppercase; color: var(--wd-fg-3); font-weight: 500;
text-align: left; padding: 0 12px 8px 0;
/* Symmetric horizontal padding. These were `... 0` on the left, which left
the concept column flush against the pane edge and every other column
hard against the preceding cell's text. */
text-align: left; padding: 0 12px 8px;
border-bottom: 1px solid var(--wd-border-strong);
}
.wd-tbl td {
padding: 6px 12px 6px 0; border-bottom: 1px solid var(--wd-border-subtle);
padding: 6px 12px; border-bottom: 1px solid var(--wd-border-subtle);
vertical-align: baseline;
}
.wd-grp td {