Don't use visibility: collapse

This commit is contained in:
Ian Gulliver
2024-12-05 17:41:44 -08:00
parent 25797f2bb1
commit 1bbcfa3d0b

View File

@@ -62,9 +62,9 @@ document.addEventListener('DOMContentLoaded', async () => {
const query = row.getAttribute('data-query'); const query = row.getAttribute('data-query');
if (search == undefined || search == '' || query.includes(search)) { if (search == undefined || search == '' || query.includes(search)) {
row.style.visibility = 'visible'; row.style.display = 'flex';
} else { } else {
row.style.visibility = 'collapse'; row.style.display = 'none';
} }
} }
}); });