Repository navigation
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersjavascriptPull requests that update javascript codePull requests that update javascript code
Description
Problem
#84 stacks the HUD notices in one centred column on tablets and desktops, as #79 did on phones. The new tablet/desktop block in client/public/styles.css repeats the phone block's column rules instead of sharing them:
| Rule | Phone block (@media (max-width: 760px), (max-height: 500px) and (orientation: landscape)) |
Tablet/desktop block (@media (min-width: 761px) and (min-height: 501px)) |
|---|---|---|
.hud-notices > * { position: static; transform: none; max-width: 100%; margin: 0; } |
yes | yes, same |
.hud-notices .milestone-banner.show { animation-name: milestone-in-column; } |
yes | yes, same |
.hud-notices .hud-status { flex-wrap: wrap; justify-content: center; } |
yes (+ white-space: nowrap) |
at top level, for every screen, which makes the phone's two lines dead |
The two media queries together now cover every screen size, so the top-level .hud-notices { display: contents; } never applies, and its comment ("Large screens: the wrapper makes no box, each keeps its own place") is out of date.
Proposal
Notices are now a column on every screen, so the column rules belong outside the media queries:
- One top-level
.hud-noticesrule with the column layout (position: absolute,display: flex,flex-direction: column,align-items: center,pointer-events: none), plus the shared> *,.milestone-banner.showand.hud-statusrules once. - The media queries only set what differs:
top,left,right,gap, and phone-only pieces such as.race-call { white-space: normal; }and.hud-status { white-space: nowrap; }. - Drop
display: contentsand its comment.
No visual change is intended.
Acceptance criteria
- No selector in
styles.cssrepeats a property that another rule for the same screens already sets. - Notices look the same as after fix(client): Stack the HUD notices on tablets and desktops too #84 on a phone (portrait and landscape), an upright and a landscape tablet, and a desktop, in all four layouts (screenshots before and after).
-
make checkpasses.
Split out of the review of #84.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersjavascriptPull requests that update javascript codePull requests that update javascript code
Activity
Kavya0224 commentedon Nov 14, 2026
Hi, I'd like to work on this.
RalfLeonFasler commentedon Nov 14, 2026
@Kavya0224 happy have you here.
You can go ahead and do it. Make sure to assign the issue to yourself so its clear that you are working on it
Kavya0224 commentedon Nov 15, 2026
Thanks! But I don't have write permissions on the repo to assign myself.
Kavya0224 commentedon Nov 17, 2026
Opened a PR for this: #122
Ready for review. The checks are waiting for a maintainer to approve the workflow run, since this PR comes from a fork. Thanks!