From ce9ad27256f6e48aad19f8c4484c382edec39475 Mon Sep 17 00:00:00 2001 From: lenhanphung <44486647+lenhanphung@users.noreply.github.com> Date: Mon, 9 Feb 2026 17:06:05 +0700 Subject: [PATCH] Update add calendar modal, update menu list style (#521) --- src/components/Calendar/CalendarSearch.tsx | 6 ++-- src/components/Calendar/CustomCalendar.styl | 12 +++++++ src/components/Dialog/ResponsiveDialog.tsx | 2 +- src/components/Menubar/Menubar.tsx | 36 +++++++++++++++++---- src/features/Settings/SettingsPage.tsx | 2 +- 5 files changed, 47 insertions(+), 11 deletions(-) diff --git a/src/components/Calendar/CalendarSearch.tsx b/src/components/Calendar/CalendarSearch.tsx index 02ae17b..4e6cc6b 100644 --- a/src/components/Calendar/CalendarSearch.tsx +++ b/src/components/Calendar/CalendarSearch.tsx @@ -40,8 +40,8 @@ function CalendarItem({ - + tr.fc-scrollgrid-section:first-of-type .fc-scroller margin: 0 .date-time-group.show-full-field > .MuiBox-root:first-of-type margin-bottom: 8px + +li.MuiButtonBase-root.MuiMenuItem-root + padding 8px 16px + font-size 14px + color #243B55 + min-width 120px + + &:hover + background #f6f6f7 + +hr.MuiDivider-root.MuiDivider-fullWidth + margin 0 \ No newline at end of file diff --git a/src/components/Dialog/ResponsiveDialog.tsx b/src/components/Dialog/ResponsiveDialog.tsx index 03a3ee3..bf9f9bb 100644 --- a/src/components/Dialog/ResponsiveDialog.tsx +++ b/src/components/Dialog/ResponsiveDialog.tsx @@ -187,7 +187,7 @@ function ResponsiveDialog({ aria-label="show less" sx={{ marginLeft: "-8px" }} > - + ) : showHeaderActions ? ( {getInitials(getUserDisplayName(user))} - + {getUserDisplayName(user)} - + {user?.email} - + {t("menubar.settings") || "Settings"} - + {t("menubar.logout") || "Logout"} diff --git a/src/features/Settings/SettingsPage.tsx b/src/features/Settings/SettingsPage.tsx index aff22f2..d144452 100644 --- a/src/features/Settings/SettingsPage.tsx +++ b/src/features/Settings/SettingsPage.tsx @@ -278,7 +278,7 @@ export default function SettingsPage() { aria-label={t("settings.back") || "Back to calendar"} className="back-button" > - + {activeNavItem === "settings" && (