Fix the music bar mobile now-playing screen not fitting landscape #25

Merged
kyuno merged 1 commit from fix/music-bar-landscape-mobile into master 2026-09-18 15:54:02 +02:00

1 commit

Author SHA1 Message Date
83592f1ee9 Fix the music bar mobile now-playing screen not fitting landscape
Some checks failed
Publier l'image Docker / test (pull_request) Failing after 4s
Publier l'image Docker / publish (pull_request) Has been skipped
The album art was sized off min(220px, 60vw) - the viewport dimension
a phone in landscape has plenty of - and stayed pinned near that cap
regardless of how little vertical room was actually left once
everything stacked vertically (art, text, transport, side), running
well past a typical landscape height and needing to scroll to reach
the controls.

Added a dedicated media query for max-width 720px and orientation
landscape rather than chasing every fixed value in the portrait rules:
the art now sits beside the title/artist instead of above them
(flex-direction: row), freeing most of the vertical space the
portrait layout spends stacking them, and its size is capped by vh
instead of vw - the dimension landscape actually constrains. A few
margins shrink alongside it in the same block for the same reason.
Deliberately left the transport buttons fixed-size - a touch target
answers to a finger, not the screen.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 11:43:36 +02:00