Skip to content

Conversation

@joshlarson
Copy link
Contributor

Scope

Asana Ticket: [SF/UD] 👁️🐞 Headsigns don't line-wrap; times do

Implementation

  • Changed the route-icon, headsign, (optional track info) layout from a grid to a flexbox, since I wasn't sure how to do what I wanted using a grid.
  • Put an invisible route icon to the left of the optional track info so that it would be aligned properly.

Screenshots

(Before on the left; After on the right)

Screenshot 2026-01-16 at 2 31 23 PM Screenshot 2026-01-16 at 2 19 36 PM

How to test

Go to any route/stop combo and squish the window size down (or increase the default font size) so that things start wrapping. Pictured above are CT2 at Ruggles and Haverhill Line at Bradford.

Notes

This supercedes #2858

@joshlarson joshlarson requested a review from thecristen January 17, 2026 02:35
Copy link
Collaborator

@thecristen thecristen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works well!

@joshlarson joshlarson merged commit 17c2f79 into main Jan 20, 2026
17 checks passed
@joshlarson joshlarson deleted the jdl/sf2.0/ud/fix-line-wrapping-for-long-headsigns branch January 20, 2026 17:03
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.

3 participants