mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-07-28 12:33:13 +02:00
0ad26a66f8
Rather than a card-per-row transform (too much scrolling for 400+ messages), narrow viewports (<=576px) keep the table but shed secondary width: - Hash, HB and Echoes columns hidden; packet hash + HB surface as a line at the top of the expanded detail row instead (still copyable) - time renders as short date/time stacked on two lines (full timestamp on wide screens) - sender/channel/message-preview columns capped with ellipsis, tighter cell padding, headers allowed to wrap - stats view: Messages and As-last-hop columns hidden on phones (Repeater, Contact, Relayed, Avg SNR remain), contact names truncated - expanded echo paths now wrap fully within the viewport, keeping every hop chip and the jump-to-map button reachable Root cause of the first attempt failing: the media block sat mid- stylesheet, so later equal-specificity base rules overrode it - it now sits last, with a comment pinning it there. Verified live via Playwright at 390px: zero horizontal overflow in Messages (incl. an expanded 20-hop path, map button on-screen) and Repeaters; desktop 1280px layout unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>