fix(web): Fix background

This commit is contained in:
Thomas Camlong 2025-04-24 20:54:10 +02:00
parent 57b0e6a1aa
commit bb53077e97
No known key found for this signature in database
GPG Key ID: A678F374F428457B

View File

@ -7,7 +7,7 @@ interface BackgroundWrapperProps {
export default function BackgroundWrapper({ children }: BackgroundWrapperProps) { export default function BackgroundWrapper({ children }: BackgroundWrapperProps) {
return ( return (
<> <div className="relative min-h-screen w-full">
<div <div
className={cn( className={cn(
"absolute inset-0", "absolute inset-0",
@ -18,6 +18,6 @@ export default function BackgroundWrapper({ children }: BackgroundWrapperProps)
/> />
<div className="pointer-events-none absolute inset-0 flex items-center justify-center bg-background [mask-image:radial-gradient(ellipse_at_center,transparent_20%,black)] dark:bg-background" /> <div className="pointer-events-none absolute inset-0 flex items-center justify-center bg-background [mask-image:radial-gradient(ellipse_at_center,transparent_20%,black)] dark:bg-background" />
<div className="z-20 relative">{children}</div> <div className="z-20 relative">{children}</div>
</> </div>
) )
} }