From 24efa2b62e6cd2b1b9064855a221f439c9f2d1eb Mon Sep 17 00:00:00 2001 From: lenhanphung Date: Thu, 25 Sep 2025 13:27:31 +0700 Subject: [PATCH] feat: get back 30mins divided --- src/components/Calendar/Calendar.tsx | 2 +- src/components/Calendar/CustomCalendar.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Calendar/Calendar.tsx b/src/components/Calendar/Calendar.tsx index d644847..9329651 100644 --- a/src/components/Calendar/Calendar.tsx +++ b/src/components/Calendar/Calendar.tsx @@ -358,7 +358,7 @@ export default function CalendarApp({ )} weekNumbers weekNumberFormat={{ week: "long" }} - slotDuration={"01:00:00"} + slotDuration={"00:30:00"} slotLabelInterval={"01:00:00"} scrollTime="12:00:00" unselectAuto={false} diff --git a/src/components/Calendar/CustomCalendar.css b/src/components/Calendar/CustomCalendar.css index 2f4b279..67683b0 100644 --- a/src/components/Calendar/CustomCalendar.css +++ b/src/components/Calendar/CustomCalendar.css @@ -176,7 +176,7 @@ th.fc-col-header-cell.fc-day { } .fc .fc-timegrid-slot { height: auto; - min-height: 40px !important; + min-height: 20px !important; } .fc .fc-timegrid-slot-label { display: flex;