agenda finition
This commit is contained in:
parent
7f3269bb8c
commit
b0b0259812
@ -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',
|
||||
minHeight: 'calc(100vh - 3rem)' // Soustraire la hauteur de la navbar
|
||||
transition: 'background-image 0.5s ease-in-out'
|
||||
}
|
||||
}
|
||||
onClick={!isSignInPage ? changeBackground : undefined}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user