fix: improve mobile responsiveness for calendar grid#55
Open
andorcassian wants to merge 1 commit into
Open
Conversation
- Remove min-width: 10rem from day cells and day-of-week headers - Abbreviate day names on mobile (Mon vs Monday) - Reduce cell height on mobile (h-24 vs h-48) - Reduce padding on mobile for day cells and events - Hide event descriptions on mobile, truncate titles - Show compact event count on mobile - Remove overflow-x-auto wrapper (no longer needed) Closes omnia-digital#46
joshtorres
approved these changes
Feb 18, 2026
Author
📱 Before/After Screenshots — Mobile Responsiveness FixBefore (375px mobile viewport)The old After (375px mobile viewport)All 7 days fit within the viewport. Day names abbreviated (Sun/Mon/etc), event text truncated, compact padding. No horizontal scroll needed. After (1280px desktop viewport)Desktop view retains full day names, event descriptions, and spacious layout — no regression. Summary of Changes
|
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.



Summary
Fixes #46 — Mobile View improvement.
The calendar grid previously used
min-width: 10remon each day cell, forcing a total minimum width of ~70rem and causing horizontal scrolling on mobile devices.Changes
overflow-x-autoandinline-block min-w-fullwrapper (no longer needed without fixed min-widths)min-width: 10rem, abbreviated day names on mobile (MonvsMonday)min-width: 10rem, reduced cell height on mobile (h-24vsh-48), reduced padding, compact event count on mobileApproach
All changes use Tailwind responsive utilities (
lg:prefix) so desktop layout is completely unchanged. Drag-and-drop functionality is preserved (no changes to Alpine.js directives or data attributes).