Orient star hint grid vertically

This commit is contained in:
chris 2025-11-20 10:56:27 -05:00
parent 023727d7a4
commit 8efe87fadf

2
app.js
View File

@ -812,7 +812,7 @@
grid.innerHTML = "";
grid.classList.toggle('has-stars', false);
if (!rows || !cols) return;
grid.style.gridTemplateColumns = `repeat(${rows}, 1fr)`; // flip to spread horizontally first
grid.style.gridTemplateColumns = `repeat(${cols}, 1fr)`; // layout vertically taller than wide
for (let i = 0; i < (rows * cols); i++) {
const dot = document.createElement('div'); dot.className = 'star-dot'; grid.appendChild(dot);
}