add vertical table margin, fix intersection script for multiple tables

This commit is contained in:
James Fenn
2023-06-25 15:20:45 -04:00
parent 40d2c158f7
commit 69f3435a6a
2 changed files with 3 additions and 1 deletions

View File

@@ -7,5 +7,5 @@ export const enableTables = () => {
{ threshold: [1] }
);
observer.observe(document.querySelector("thead"));
document.querySelectorAll("thead").forEach((e) => observer.observe(e));
};