agenda finition

This commit is contained in:
alma 2026-01-20 14:39:54 +01:00
parent 08d965db03
commit 3cd3833cf8
2 changed files with 6 additions and 4 deletions

View File

@ -701,7 +701,7 @@ export default async function CalendarPage() {
}, 0); }, 0);
return ( return (
<div className="w-full h-full bg-white"> <div className="w-full bg-white" style={{ height: 'calc(100vh - 3rem - 52px)' }}>
<div className="w-full h-full px-4 pb-4 flex overflow-hidden"> <div className="w-full h-full px-4 pb-4 flex overflow-hidden">
<CalendarClient <CalendarClient
initialCalendars={calendars} initialCalendars={calendars}

View File

@ -212,7 +212,7 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
<AuthCheck> <AuthCheck>
{!isSignInPage && isAuthenticated && <MainNav />} {!isSignInPage && isAuthenticated && <MainNav />}
<div <div
className={isSignInPage ? "min-h-screen" : "flex flex-col h-screen"} className={isSignInPage ? "min-h-screen" : ""}
style={ style={
isSignInPage isSignInPage
? {} // No background style for signin page - let the page component handle it ? {} // No background style for signin page - let the page component handle it
@ -223,12 +223,14 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
backgroundRepeat: 'no-repeat', backgroundRepeat: 'no-repeat',
backgroundAttachment: 'fixed', backgroundAttachment: 'fixed',
cursor: 'pointer', cursor: 'pointer',
transition: 'background-image 0.5s ease-in-out' transition: 'background-image 0.5s ease-in-out',
paddingTop: '3rem', // 48px for fixed navbar
minHeight: '100vh'
} }
} }
onClick={!isSignInPage ? changeBackground : undefined} onClick={!isSignInPage ? changeBackground : undefined}
> >
<main className={isSignInPage ? "" : "flex-1 pt-12"}>{children}</main> <main>{children}</main>
{!isSignInPage && isAuthenticated && <Footer />} {!isSignInPage && isAuthenticated && <Footer />}
</div> </div>
<Toaster /> <Toaster />