From e8c2a8bbb2ea09b73371047ca0fa86aedcd70bb9 Mon Sep 17 00:00:00 2001 From: James J Balamuta Date: Sun, 16 Jun 2024 00:31:23 -0700 Subject: [PATCH] Attempt to correct pre-release class set. --- _extensions/webr/qwebr-document-status.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_extensions/webr/qwebr-document-status.js b/_extensions/webr/qwebr-document-status.js index 5b84327..71441df 100644 --- a/_extensions/webr/qwebr-document-status.js +++ b/_extensions/webr/qwebr-document-status.js @@ -349,6 +349,9 @@ function qwebrCodeLinks() { if(sidebar) { // Append the container div to the sidebar sidebar.appendChild(containerDiv); + // Force the sidebar to be clickable by removing the 'zindex-bottom' class + // added in pre-release: https://github.com/quarto-dev/quarto-cli/commit/f0c53a1ffcaa1de4eccbf07803b096898248adcc + sidebar.className = 'sidebar margin-sidebar'; } else { // Get a debugger ... console.warn('Element with ID "quarto-margin-sidebar" not found.');