Skip to content

Line up the sidebar departures and keep their order fixed - #75

Merged
lolman420 merged 1 commit into
masterfrom
sidebar-departures-layout
Nov 12, 2026
Merged

lolman420 merged 1 commit into
masterfrom
sidebar-departures-layout

Conversation

@lolman420

@lolman420 lolman420 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Why

The sidebar's metro and tram rows looked messy: each row was its own grid, so the destinations and times started at different places on each row; the rows were sorted by the next departure, so they swapped places every minute; and the times were in a monospace font with "min" repeated on every row.

What changed

  • All rows share one grid, so the columns line up: line badge, destination, next departure (bold), the one after it (grey).
  • Fixed order: metro before tram, then by line and destination (M1 Kivenlahti, M1 Vuosaari, M2 Mellunmäki, M2 Tapiola, 15 Itäkeskus, 15 Keilaniemi). When the song card caps the rows, the soonest are still the ones kept.
  • "min" is shown once, next to the heading. Times use the regular font with tabular figures.
  • The "(M)" at the end of destinations is dropped in the sidebar; every rail line here ends at a metro station.
  • The badge is the same height as the text.

Checked at 1920×1080: columns line up and the sidebar is exactly 1080 px tall.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lolman420
lolman420 merged commit 5a009e9 into master Nov 12, 2026
1 check passed
@lolman420
lolman420 deleted the sidebar-departures-layout branch November 12, 2026 12:12
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