diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index aa943c7..1d86ad1 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -23,7 +23,7 @@ star.src = Star; star.classList.add("star"); - star.style.width = `${sizes[i]}vw`; + star.style.width = `max(${sizes[i]}vw, ${sizes[i]}vh)`; star.style.position = "absolute"; star.style.left = `${100 * x}vw`; star.style.top = `${100 * y}vh`;