From cb46742d53701005f847b147e66f66ff3a3f2df8 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 31 May 2024 13:09:44 -0300 Subject: client, css: tweak sticky behavior of column showing search results --- src/static/js/client.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/static/js') diff --git a/src/static/js/client.js b/src/static/js/client.js index 74240b0d..e60d200a 100644 --- a/src/static/js/client.js +++ b/src/static/js/client.js @@ -4082,6 +4082,7 @@ function clearSidebarSearch() { } info.searchBox.classList.remove('showing-results'); + info.searchSidebarColumn.classList.remove('search-showing-results'); info.searchInput.value = ''; @@ -4203,6 +4204,7 @@ function showSidebarSearchResults(results) { }))); info.searchBox.classList.add('showing-results'); + info.searchSidebarColumn.classList.add('search-showing-results'); while (info.results.firstChild) { info.results.firstChild.remove(); -- cgit 1.3.0-6-gf8a5