Fix member view grid alignment with subgrid for consistent columns

This commit is contained in:
Ian Gulliver
2026-02-16 11:05:15 -08:00
parent 265b22f0ca
commit 4bc13830ad
2 changed files with 6 additions and 2 deletions

View File

@@ -535,6 +535,8 @@ async function renderMemberView(me) {
}
}
const rows = document.createElement('div');
rows.className = 'pref-rows';
for (const other of students) {
if (myStudentIDs.has(other.id)) continue;
const row = document.createElement('div');
@@ -576,8 +578,9 @@ async function renderMemberView(me) {
}
});
row.appendChild(group);
card.appendChild(row);
rows.appendChild(row);
}
card.appendChild(rows);
container.appendChild(card);
}