Skip to content

Commit

Permalink
Changes the height of use of sticky table headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bulhakovolexii committed Feb 7, 2024
1 parent 7c706de commit f34d3d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
const tables = document.querySelectorAll("table");
const addStickyHeaders = (tables) => {
tables.forEach((table) => {
if (table.offsetHeight >= 900) {
if (table.offsetHeight >= 700) {
table.classList.add("js-table")
}
})
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
const tables = document.querySelectorAll("table");
const addStickyHeaders = (tables) => {
tables.forEach((table) => {
if (table.offsetHeight >= 900) {
if (table.offsetHeight >= 700) {
table.classList.add("js-table")
}
})
Expand Down

0 comments on commit f34d3d6

Please sign in to comment.