Fix calendar layout overflow from KW column addition#14
Merged
Conversation
Co-authored-by: D4koon <13141819+D4koon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix layout overflow issue caused by kw display
Fix calendar layout overflow from KW column addition
Jan 8, 2026
Contributor
🎉 Preview Deployed!Your PR preview is ready for review: 🔗 Preview URL: https://D4koon.github.io/Holiday-Planner/pr-14/ The preview will automatically update with new commits. |
Contributor
🧹 Preview Cleaned UpThe preview for this PR has been removed since the PR was closed. |
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.
The KW (calendar week) column added an 8th column to the calendar grid, but the minimum width constraint remained at 250px (sized for 7 columns), causing cramped cells and overflow on smaller viewports.
Changes
.calendargrid minimum width from250pxto300pxto accommodate the additional 40px KW column.calendar { display: grid; - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; margin-bottom: 20px; }Screenshots
Before (768px viewport):

After (768px viewport):

Layout now properly adapts across all viewport sizes (375px mobile through 1920px desktop) while maintaining responsive grid behavior.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.