fix/星空、彩带动效层级

This commit is contained in:
tangly1024.com
2023-03-24 12:28:22 +08:00
parent bb1ddcec48
commit 876fa07594
3 changed files with 13 additions and 28 deletions

View File

@@ -7,7 +7,7 @@ export const StarrySky = () => {
}, [])
return (
<div className="relative">
<canvas id="starry-sky-vixcity" className="fixed pointer-events-none"></canvas>
<canvas id="starry-sky-vixcity" style={{zIndex:1}} className="top-0 fixed pointer-events-none"></canvas>
</div>
)
}