Merge pull request #1268 from homarr-labs/feat/extend-background

This commit is contained in:
Thomas Camlong 2025-04-24 22:23:45 +02:00 committed by GitHub
commit 6edf5d7040
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ interface BackgroundWrapperProps {
export default function BackgroundWrapper({ children }: BackgroundWrapperProps) {
return (
<>
<div className="relative min-h-screen w-full">
<div
className={cn(
"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="z-20 relative">{children}</div>
</>
</div>
)
}