agenda finition

This commit is contained in:
alma 2026-01-20 14:58:32 +01:00
parent 91ca6f5a37
commit 5f341b3829
3 changed files with 6 additions and 10 deletions

View File

@ -701,8 +701,8 @@ export default async function CalendarPage() {
}, 0);
return (
<div className="w-full h-full bg-white">
<div className="w-full h-full px-4 pb-4 flex overflow-hidden">
<main className="w-full h-screen bg-white">
<div className="w-full h-full px-4 pt-12 pb-4 flex">
<CalendarClient
initialCalendars={calendars}
userId={session.user.id}
@ -713,6 +713,6 @@ export default async function CalendarPage() {
}}
/>
</div>
</div>
</main>
);
}

View File

@ -69,10 +69,6 @@
* {
@apply border-border;
}
html,
body {
height: 100%;
}
body {
@apply bg-background text-foreground;
}

View File

@ -212,7 +212,7 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
<AuthCheck>
{!isSignInPage && isAuthenticated && <MainNav />}
<div
className={isSignInPage ? "min-h-screen" : "flex flex-col min-h-screen"}
className={isSignInPage ? "min-h-screen" : "min-h-screen"}
style={
isSignInPage
? {} // No background style for signin page - let the page component handle it
@ -228,9 +228,9 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
}
onClick={!isSignInPage ? changeBackground : undefined}
>
<main className={isSignInPage ? "" : "flex-1 pt-12"}>{children}</main>
{!isSignInPage && isAuthenticated && <Footer />}
<main>{children}</main>
</div>
{!isSignInPage && isAuthenticated && <Footer />}
<Toaster />
{/* Notifications stack (calls and emails) */}