Fix alternating row stripes to span full card width

This commit is contained in:
Ian Gulliver
2026-02-16 10:51:29 -08:00
parent b71c4bfd3f
commit 265b22f0ca
2 changed files with 3 additions and 7 deletions

View File

@@ -535,8 +535,6 @@ 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');
@@ -578,9 +576,8 @@ async function renderMemberView(me) {
}
});
row.appendChild(group);
rows.appendChild(row);
card.appendChild(row);
}
card.appendChild(rows);
container.appendChild(card);
}