From a8d4afb101201b149320464cf0d9cb04a8eb43b3 Mon Sep 17 00:00:00 2001 From: Nikolay Tatarinov Date: Wed, 4 Mar 2026 11:01:17 +0300 Subject: [PATCH] refactor: improve layout and styling in CalendarHeader component - Adjusted the layout of the CalendarHeader to enhance visual hierarchy by separating the year and month display. - Updated CSS classes for better alignment and spacing, ensuring a more polished user interface. - Enhanced accessibility by maintaining aria attributes for live updates. --- .../src/components/calendar/CalendarHeader.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/webapp-next/src/components/calendar/CalendarHeader.tsx b/webapp-next/src/components/calendar/CalendarHeader.tsx index c11df6a..f58e8ff 100644 --- a/webapp-next/src/components/calendar/CalendarHeader.tsx +++ b/webapp-next/src/components/calendar/CalendarHeader.tsx @@ -49,13 +49,18 @@ export function CalendarHeader({ > -
+

- {monthName(monthIndex)} {year} + + {year} + + + {monthName(monthIndex)} +