From 80690a4105108016619d765d11d4b6dbec9f89d2 Mon Sep 17 00:00:00 2001 From: Lara Alexander Date: Mon, 28 Aug 2023 15:33:42 -0400 Subject: [PATCH] Made the calendar page mobile-responsive --- client/src/features/calendar/MonthAndYear.js | 6 +++--- client/src/features/calendarHeader/CalendarHeader.js | 10 +++++----- .../features/calendarHeader/components/HeaderButton.js | 6 +++--- .../features/calendarHeader/components/TodayButton.js | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/client/src/features/calendar/MonthAndYear.js b/client/src/features/calendar/MonthAndYear.js index 51a85f35..fba6882b 100644 --- a/client/src/features/calendar/MonthAndYear.js +++ b/client/src/features/calendar/MonthAndYear.js @@ -11,7 +11,7 @@ const MonthAndYear = ({
-

+

{month}, {year}

diff --git a/client/src/features/calendarHeader/CalendarHeader.js b/client/src/features/calendarHeader/CalendarHeader.js index ea734a22..86bc0633 100644 --- a/client/src/features/calendarHeader/CalendarHeader.js +++ b/client/src/features/calendarHeader/CalendarHeader.js @@ -30,8 +30,8 @@ function CalendarHeader({ date }) { }; return ( -
-
+
+
navigate("/")} />
-
- Logo +
+ Logo date.getCurrentMonth()} />
-
+
- - + + {tooltipText} diff --git a/client/src/features/calendarHeader/components/TodayButton.js b/client/src/features/calendarHeader/components/TodayButton.js index 6ca28288..9060973d 100644 --- a/client/src/features/calendarHeader/components/TodayButton.js +++ b/client/src/features/calendarHeader/components/TodayButton.js @@ -1,10 +1,10 @@ function TodayButton({ text, tooltipText, ...rest }) { return (