Try again

This commit is contained in:
Fred Boniface 2022-10-18 13:08:52 +01:00
parent 0cf81836e2
commit 0024daec0f

View File

@ -7,15 +7,13 @@ function collapseSidebar() {
} }
function sidebarOpen() { function sidebarOpen() {
document.getElementById("sidebar").style.height = "100%"; document.getElementById("sidebar").style.width = "40%";
document.getElementById("sidebar").style.display = "block";
document.getElementById("sidebar_open_short").style.display = "none"; document.getElementById("sidebar_open_short").style.display = "none";
document.getElementById("sidebar_close_short").style.display = "block"; document.getElementById("sidebar_close_short").style.display = "block";
} }
function sidebarClose() { function sidebarClose() {
document.getElementById("sidebar").style.height = "0%"; document.getElementById("sidebar").style.width = "0%"
document.getElementById("sidebar").style.display = "none";
document.getElementById("sidebar_open_short").style.display = "block"; document.getElementById("sidebar_open_short").style.display = "block";
document.getElementById("sidebar_close_short").style.display = "none"; document.getElementById("sidebar_close_short").style.display = "none";
} }