diff --git a/tdx-enhanced.js b/tdx-enhanced.js index 269c38c..b578b58 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -397,6 +397,15 @@ } } } + + //apply sticky columns + let stickyColumns = settings('get','stickyColumns') + if (stickyColumns) { + [...document.querySelectorAll(".desktop-column")].forEach(column=>{ + column.style.position = "sticky" + column.style.top = "45px" + }); + } } function invertHex(hex) { @@ -1039,6 +1048,10 @@ +