Use fit-content wrapper for member view pref rows

This commit is contained in:
Ian Gulliver
2026-02-16 10:40:13 -08:00
parent 2fbae407c1
commit 71e536f284
2 changed files with 6 additions and 2 deletions

View File

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