From e72e656e9d21ff245f00389443da46d30e2ea0ea Mon Sep 17 00:00:00 2001 From: Cassian Andor <259291226+andorcassian@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:44:02 -0800 Subject: [PATCH] fix: improve mobile responsiveness for calendar grid (#46) - 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 #46 --- resources/views/calendar.blade.php | 4 ++-- resources/views/day-of-week.blade.php | 6 +++--- resources/views/day.blade.php | 14 +++++++++----- resources/views/event.blade.php | 6 +++--- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/resources/views/calendar.blade.php b/resources/views/calendar.blade.php index f84b9c4..e528719 100644 --- a/resources/views/calendar.blade.php +++ b/resources/views/calendar.blade.php @@ -10,8 +10,8 @@
- {{ $day->format('l') }} + {{ $day->format('l') }} + {{ $day->format('D') }}
{{ $day->format('j') }}
-+
++ @if($events->isNotEmpty()) + {{ $events->count() }} + @endif +
+
{{ $event['title'] }} @if(($event['is_multiday'] ?? false) && ($event['is_first_day'] ?? false)) @@ -27,7 +27,7 @@ class="py-2 px-3 shadow-md cursor-pointer
@if($event['is_first_day'] ?? true) -+
@endif