diff --git a/app/[locale]/calendar/page.tsx b/app/[locale]/calendar/page.tsx index 5ded7c39..ac8c2e61 100644 --- a/app/[locale]/calendar/page.tsx +++ b/app/[locale]/calendar/page.tsx @@ -697,7 +697,7 @@ export default function CalendarPage() {
{/* Left Navigation Rail */} {!isMobile && ( -
+
)} + {/* Sidebar - full height */} + {!isMobile && ( + <> +
+ + { + updateCalendar(client, calendarId, { color }); + } : undefined} + onSubscribe={() => setShowSubscriptionModal(true)} + client={client} + /> +
+ { dragStartWidth.current = calSidebarWidth; setIsResizing(true); }} + onResize={(delta) => setCalSidebarWidth(Math.max(180, Math.min(400, dragStartWidth.current + delta)))} + onResizeEnd={() => { + setIsResizing(false); + localStorage.setItem("calendar-sidebar-width", String(calSidebarWidth)); + }} + onDoubleClick={() => { setCalSidebarWidth(256); localStorage.setItem("calendar-sidebar-width", "256"); }} + /> + + )} +
- {!isMobile && ( - <> -
- - { - updateCalendar(client, calendarId, { color }); - } : undefined} - onSubscribe={() => setShowSubscriptionModal(true)} - client={client} - /> -
- { dragStartWidth.current = calSidebarWidth; setIsResizing(true); }} - onResize={(delta) => setCalSidebarWidth(Math.max(180, Math.min(400, dragStartWidth.current + delta)))} - onResizeEnd={() => { - setIsResizing(false); - localStorage.setItem("calendar-sidebar-width", String(calSidebarWidth)); - }} - onDoubleClick={() => { setCalSidebarWidth(256); localStorage.setItem("calendar-sidebar-width", "256"); }} - /> - - )} - {renderView()} {/* Desktop event panel */} diff --git a/app/[locale]/contacts/page.tsx b/app/[locale]/contacts/page.tsx index 9c7f16cd..df6f08e7 100644 --- a/app/[locale]/contacts/page.tsx +++ b/app/[locale]/contacts/page.tsx @@ -437,7 +437,7 @@ export default function ContactsPage() { return (
{!isMobile && ( -
+
{!isMobile && ( -
+
{/* Desktop Navigation Rail */} {!isMobile && !isTablet && ( -
+
{/* Navigation Rail */} -
+
-
- - - {getDateLabel()} - - -
+ {isMobile && ( +
+ + + {getDateLabel()} + + +
+ )}