Add swipe navigation for calendar month view

- Implemented touch event listeners to allow users to swipe left or right on the calendar for month navigation.
- Added a swipe threshold to prevent accidental navigation and ensure smooth user experience.
- Updated CSS to enable touch actions for better responsiveness on touch devices.
This commit is contained in:
2026-02-17 23:54:22 +03:00
parent 1a8ee72b8e
commit eb4fb40423
2 changed files with 32 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ body {
background: var(--bg);
padding-bottom: 12px;
margin-bottom: 4px;
touch-action: pan-y;
}
.calendar-sticky.is-scrolled {