From 080e5eb9a5780719dcce6deb7525c83ad6a60c3d Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Fri, 25 Sep 2026 13:46:37 +0200 Subject: [PATCH] nice calendar --- backend/core/settings.py | 3 +-- frontend/src/pages/CalendarPage.jsx | 11 ++++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/core/settings.py b/backend/core/settings.py index 38e62bf..3d565d0 100644 --- a/backend/core/settings.py +++ b/backend/core/settings.py @@ -9,6 +9,7 @@ https://docs.djangoproject.com/en/5.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/5.2/ref/settings/ """ +from datetime import timedelta from pathlib import Path from decouple import config import dj_database_url @@ -145,8 +146,6 @@ REST_FRAMEWORK = { ], } -from datetime import timedelta - SIMPLE_JWT = { 'ACCESS_TOKEN_LIFETIME': timedelta(days=1), 'REFRESH_TOKEN_LIFETIME': timedelta(days=36500), diff --git a/frontend/src/pages/CalendarPage.jsx b/frontend/src/pages/CalendarPage.jsx index 7fa8bff..6af938d 100644 --- a/frontend/src/pages/CalendarPage.jsx +++ b/frontend/src/pages/CalendarPage.jsx @@ -17,6 +17,7 @@ import LoadingCard from '@/components/LoadingCard'; import MainCard from '@/components/MainCard'; import HoverInfo from '@/components/HoverInfo'; + import { DatePicker, TimePicker } from '@/components/ResponsivePickers'; import { @@ -2851,7 +2852,7 @@ const CalendarPage = () => { className=" - sticky left-0 top-0 z-[3] + sticky left-0 top-0 z-[4] flex items-center justify-center @@ -2895,7 +2896,7 @@ const CalendarPage = () => { className=" - sticky top-0 z-[2] + sticky top-0 z-[3] flex items-center justify-center @@ -2959,7 +2960,7 @@ const CalendarPage = () => { className=" - sticky left-0 z-[1] + sticky left-0 z-[2] flex items-center justify-center @@ -3329,7 +3330,7 @@ const CalendarPage = () => { absolute - z-20 + z-[1] cursor-pointer @@ -3441,7 +3442,7 @@ const CalendarPage = () => { top-1/2 - z-20 + z-[1] flex