From f34d3d692420823336a8ceffa101492d6d1bde5d Mon Sep 17 00:00:00 2001 From: Olexii Bulhakov Date: Wed, 7 Feb 2024 10:37:01 +0200 Subject: [PATCH] Changes the height of use of sticky table headers --- docs/_layouts/default.html | 2 +- docs/_layouts/minimal.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 33b30a8..e244116 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -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") } }) diff --git a/docs/_layouts/minimal.html b/docs/_layouts/minimal.html index 1ad8366..da66fb3 100644 --- a/docs/_layouts/minimal.html +++ b/docs/_layouts/minimal.html @@ -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") } })