Repository navigation
feat(calendar): fit the calendar to a laptop screen - #161
Merged
Merged
Conversation
selvarajuv
approved these changes
Nov 27, 2026
A month page late in the month was mostly past days, and the priced nights were split across two pages. Now one grid always holds the whole window, with the date range as the title.
The app frame is now one screen tall and the five weeks share whatever height is left, so the whole calendar is visible at 1280x800 and up. The colour chips move into the header row to give the grid room.
With the grid filling the screen, a tall card had nowhere to go. It now shows the top three factors and events and never scrolls, and "Open night" goes to /nights/:date, a placeholder until night detail is built.
Once the grid fills the screen, a row in the middle has room for the card neither above nor below it. Beside the night, the card can slide up or down until it fits.
With only 3 factors the rest folded into a leftover line bigger than any shown, so the card now lists the 3 biggest reasons and links to the night for the full breakdown.
Jrodrigo06
force-pushed
the
calendar-window
branch
from
November 27, 2026 19:03
6a8143b to
5f9b622
Compare
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.
What
The calendar fits a laptop screen with no page scroll.
/nights/:date(a placeholder page for now).Why
The month view scrolled on a laptop, and the hover card had grown to 15 factor lines with its own scroll. The full breakdown moves to the night's page in the next PR. Decision 0065 is updated to match.
How to check
just frontend, open the calendar at 1440x900 and 1280x800. The page should not scroll.Screenshots
1440x900, no page scroll
1280x800, no page scroll
Hover card with the biggest reasons
Notes