panel: give the monitoring pages a width that fits their data

48rem is a reading measure, right for the panel's forms and prose and the width
the nav bar's two rows were sized for. Deliveries, Mail queue and System log
hold data instead: seven columns of send-log, and mail.log lines that are long
by nature. They get 64rem; every other page keeps the narrow measure. The page
name travels onto <main> as a class so the stylesheet can tell them apart
without every handler having to pass a second field.

Width alone does not make a table fit, though — a column is at least as wide as
the longest unbreakable run in it, and one 40-character recipient still hung
Status over the card's edge. Cells may now break mid word, with timestamps
exempt, so a column can always be squeezed into the room available.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-03 23:21:49 +03:00
parent 8add005822
commit 9b4a368b05
4 changed files with 44 additions and 9 deletions
+13
View File
@@ -5,6 +5,13 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version
## [Unreleased]
### Changed
- panel: the three monitoring pages — Deliveries, Mail queue, System log — are
now laid out wider (64rem against the 48rem the rest of the panel keeps).
They carry data rather than prose: the send-log's seven columns had no room
to breathe, and the raw `mail.log` lines wrapped every second line.
### Fixed
- panel: Deliveries now shows the subject as text rather than as its MIME
@@ -17,6 +24,12 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version
their raw string. Subjects in the legacy single-byte charsets (windows-1251,
koi8-r) are still stored as sent — there is no decoder for them.
- panel: table cells may now break inside a word, so no single long value can
push a table past the edge of its card. A 40-character recipient address did
it just as readily as an undecoded subject: a column is at least as wide as
the longest unbreakable run it holds, and email addresses have nothing to
break on. Timestamps are exempt and stay on one line.
## [0.3.0] - 2026-08-03
### Fixed