agenda finition

This commit is contained in:
alma 2026-01-20 14:05:48 +01:00
parent e1e0c5f0e3
commit 34a0a8c79e

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"}
className={isSignInPage ? "min-h-screen" : "flex flex-col h-screen"}
style={
isSignInPage
? {} // No background style for signin page - let the page component handle it
@ -223,8 +223,7 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
backgroundRepeat: 'no-repeat',
backgroundAttachment: 'fixed',
cursor: 'pointer',
transition: 'background-image 0.5s ease-in-out',
height: 'calc(100vh - 3rem)' // Soustraire la hauteur de la navbar fixed (3rem)
transition: 'background-image 0.5s ease-in-out'
}
}
onClick={!isSignInPage ? changeBackground : undefined}