Commit Graph

4 Commits

Author SHA1 Message Date
yuancheng 4c58f85ff1 Extend .log-table header fix to the other left-aligned activity tables
mmdvmhost/localtx.php and dstarrepeater/last_herd.php + local_tx.php
share the exact same pattern as mmdvmhost/lh.php (fixed in e8a569a7 /
2bc8f7b0): every data row is align="left" but headers inherited the
sitewide centered table text-align, so captions visually drift from
their column's actual content.

Deliberately did NOT touch dstarrepeater/active_starnet_groups.php's
two tables - checked their td alignment first and both are mostly
align="center" (only one column/cell is left-aligned in each), so
their headers already match their data; adding .log-table there would
have broken the columns that were already correct.
2026-07-21 15:50:17 +08:00
yuancheng 2bc8f7b03e Left-align log-table headers to match their left-aligned data cells
Last Heard (and other log-style tables sharing this pattern) render
every <td> with align="left", but headers inherit the sitewide
table { text-align: center; } with nothing overriding it - so the
caption drifts toward the middle of wide columns (most visible on
Target) while the actual data underneath hugs the left edge. Looks
like a column-boundary misalignment at a glance, but it's a text-align
mismatch; measured actual cell boundaries and they line up exactly.

Scoped via a new .log-table class rather than changing table th
sitewide, since ~90% of the dashboard's other tables intentionally
keep centered cells (only 6-7 files use align="left" data cells).
2026-07-21 15:43:26 +08:00
yuancheng 0febcf69f4 main 2026-07-19 18:27:27 +08:00
yuancheng fe4b286ce1 main 2026-07-19 18:01:05 +08:00