From 59ab5d323ec5193d2d86f776561d7a8b97c7b15e Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Mon, 4 Dec 2023 18:13:20 +0100 Subject: [PATCH] Update default.html Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index c549a35..9a2a984 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -299,7 +299,7 @@ tocElement.style.top = headerHeight - scrollTop + 'px'; // Adjust based on scroll position } - if (window.innerWidth > scrollLeft){ + if (window.innerWidth > 1600){ tocElement.style.display = 'block'; // Show the navigation bar } else { tocElement.style.display = 'none'; // Hide the navigation bar