mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-06-28 15:30:22 +08:00
fix(web): Fix background
This commit is contained in:
parent
57b0e6a1aa
commit
bb53077e97
@ -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>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user