From c27a52f479048175df34798a4efccac09501550d Mon Sep 17 00:00:00 2001 From: lenhanphung <44486647+lenhanphung@users.noreply.github.com> Date: Tue, 21 Oct 2025 17:16:08 +0700 Subject: [PATCH] Calendar sidebar: padding via MUI, sticky Create Event button; DateCalendar width 100%; Create button full width (#227) --- src/components/Calendar/Calendar.tsx | 37 ++++++++++++++++++------ src/components/Calendar/MiniCalendar.tsx | 1 + 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/components/Calendar/Calendar.tsx b/src/components/Calendar/Calendar.tsx index bc4b9ac..48f0247 100644 --- a/src/components/Calendar/Calendar.tsx +++ b/src/components/Calendar/Calendar.tsx @@ -27,6 +27,7 @@ import { createSelector } from "@reduxjs/toolkit"; import AddIcon from "@mui/icons-material/Add"; import { TempCalendarsInput } from "./TempCalendarsInput"; import Button from "@mui/material/Button"; +import { Box } from "@mui/material"; import { updateSlotLabelVisibility, eventToFullCalendarFormat, @@ -263,15 +264,33 @@ export default function CalendarApp({ return (
-
- + +
- +
{ const date = ownerState.day.toDate();