fix: Alignment bug in new timetable - #3431
Merged
Merged
Conversation
Contributor
Author
|
This doesn't fully solve the issue - it's still possible to get the misalignment by resizing the browser window and positioning the scroll bar in a specific place. But this at least solves the problem for the vast majority of cases that someone is likely to actually do 😅 |
joshlarson
enabled auto-merge (squash)
August 18, 2026 23:23
lvachon1
reviewed
Aug 19, 2026
lvachon1
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
No ticket, but I just noticed that at certain browser widths (at a guess... even number of pixels? 1000px for instance), if you drag the new timetable scroll bar almost but not quite to the "Latest trips" end of the screen and then click
Later <Vehicles>, it goes one pixel too far, and nudges the header with theEarlier/Laterbuttons out of alignment.Implementation
Screenshots
How to test
Navigate to the Harbor Loop Ferry Timetable page with a browser width of 1000px - on
main, you should see the top bar get nudged a little - on this branch, you should see it stay put.Try other routes and other browser widths!