Skip to content

web(d-web4): narrow-phone (<=480px) hardening for embedded dashboard header - #442

Merged
frstrtr merged 1 commit into
masterfrom
web/d-web4-narrow-phone-hardening
Jun 24, 2026
Merged

web(d-web4): narrow-phone (<=480px) hardening for embedded dashboard header#442
frstrtr merged 1 commit into
masterfrom
web/d-web4-narrow-phone-hardening

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 24, 2026

Copy link
Copy Markdown
Owner

What

Adds a @media (max-width: 480px) block to web-static/dashboard.html:

  • forces #miner-info / #network-info to full-width, min-width:0 (their inline min-width of 280px/220px is unreachable by the existing 768px/900px breakpoints, so on a phone the two boxes sum to ~500px and overflow horizontally → clipped view)
  • adds overflow-wrap/word-break to the monospace config lines (stratum URL, the <ADDR>,<DOGE_ADDR>.WORKER username) which are unbreakable tokens that push past the viewport

Why

Closes the residual half of the operator-flagged D-WEB.4 mobile-clip on the embedded :8080 dashboard. PR #422 covered the legacy index/graphs static pages; this covers dashboard.html (the root / page served from --dashboard-dir).

Risk / deploy

Pure CSS, additive, scoped to <=480px only — no change at desktop/tablet widths. Static drop-in: served on-disk from --dashboard-dir, deploys via static-swap (no rebuild, no restart). Web/non-consensus → normal merge after CI green + operator merge-tap awareness.

…<=480px

The embedded dashboard header info boxes (#miner-info / #network-info)
carry inline min-width (280px / 220px) that the 768px/900px breakpoints
cannot override, and the monospace config lines (stratum URL, the
<ADDR>,<DOGE_ADDR>.WORKER username) are unbreakable tokens. On a phone
(<=414px) these force horizontal overflow that clips the view. Add a
<=480px breakpoint that drops the inline mins to full-width and lets the
long tokens wrap. Static drop-in (served from --dashboard-dir), no rebuild.
@frstrtr
frstrtr merged commit 1892356 into master Jun 24, 2026
21 checks passed
@frstrtr
frstrtr deleted the web/d-web4-narrow-phone-hardening branch June 24, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant