fix: Search button would stay on top of sidepanel when it was open.

This commit is contained in:
2025-01-18 09:05:07 -05:00
parent d8328314ed
commit 9efd920456
7 changed files with 62 additions and 166 deletions

View File

@@ -26,10 +26,16 @@ function updateDropDownSelection(id, contentId) {
}
function openSidepanel() {
if (searchBtn = document.getElementById("btn-search")) {
searchBtn.style.display = "none";
}
document.getElementById("sidepanel").style.width = "250px";
}
function closeSidepanel() {
if (searchBtn = document.getElementById("btn-search")) {
searchBtn.style.display = "inline";
}
document.getElementById("sidepanel").style.width = "0";
}