Fix large table search visibility

This commit is contained in:
2026-06-04 18:18:00 +02:00
parent 9ab23c47cc
commit 343b8ac90f
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -287,7 +287,9 @@
sortedRows.forEach((row) => {
table.appendChild(row);
row.hidden = !rowMatchesQuery(row, state.query);
const isVisible = rowMatchesQuery(row, state.query);
row.classList.toggle('sg-large-table__row--hidden', !isVisible);
row.setAttribute('aria-hidden', isVisible ? 'false' : 'true');
});
setHeaderState(state.columnIndex, state.direction);
+4
View File
@@ -123,6 +123,10 @@
background: var(--color-white);
}
.sg-large-table__row--hidden {
display: none;
}
.sg-large-table__row--header {
font-weight: var(--font-weight-semibold);
background: var(--color-medium-grey);