Remove a stale media query that fights the TV vh/vw design #5
Loading…
Reference in a new issue
No description provided.
Delete branch "tv-remove-stale-media-query"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Left over from before the TV redesign: an
@media (max-width: 1024px)block still overrode
.scoreboard-page .title,.score-row,.player-rank,.player-nameand.player-scorewith fixed rem/px valueswhenever the viewport matched. It was never revisited when those same
elements were converted to vh/vw sizing, so on any viewport under 1024px
CSS-wide it was silently undoing that work and reintroducing the exact
fixed-size assumption those earlier commits removed.
Given the TV's own reported viewport has already turned out to be narrower
and differently proportioned than expected more than once this session,
this was a real, live candidate for (part of) what's still off on the
actual device, not just theoretical cleanup.
The scoreboard is TV-only, single-purpose, and every element in it is
already sized proportionally - it has no need of a narrow-screen layout.
Left the sibling
@media (max-width: 768px)block alone; that one onlytouches the
/inputpage, which is unrelated.Testing
1920x1080 renders byte-identical to the last verified-good screenshot.
800x450 (well under the old breakpoint) shows all 14 rows with proportional
sizing and no fixed-px override kicking in.