mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-06-28 23:40:21 +08:00
fix search resize
This commit is contained in:
parent
02d538daaa
commit
14c7fd714b
@ -7,7 +7,7 @@ interface BackgroundWrapperProps {
|
||||
|
||||
export default function BackgroundWrapper({ children }: BackgroundWrapperProps) {
|
||||
return (
|
||||
<div className="relative flex w-full items-center justify-center bg-white dark:bg-black">
|
||||
<>
|
||||
<div
|
||||
className={cn(
|
||||
"absolute inset-0",
|
||||
@ -17,7 +17,7 @@ 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="relative z-20">{children}</div>
|
||||
</div>
|
||||
<div className="z-20 relative">{children}</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user