Fix overflow issue when window is resized after loading
Closed this issue · 1 comments
Abibubble commented
window.addEventListener("resize", //remove stars here)
DaveyJH commented
The bug is due to the stars being generated dynamically and absolutely using px. My mistake. Could change the x position of them to something like ${Math.random() * 75vw + 7.5}vw
(to avoid left edge overflow/disappearing)
The team can discuss the preferred action and resolve accordingly.