fixed sidebar collapse

This commit is contained in:
Oleg Belyaev 2025-03-22 12:22:14 +03:00
parent 8387eeb13f
commit 8d345d62cc

View file

@ -69,8 +69,8 @@ $( document ).ready(function() {
// $("#leftbar")[0].style.paddingLeft = "10px"; // $("#leftbar")[0].style.paddingLeft = "10px";
$("main")[0].style.marginLeft = "250px"; $("main")[0].style.marginLeft = "250px";
$("header")[0].style.marginLeft = "250px"; $("header nav")[0].style.marginLeft = "250px";
$("footer")[0].style.marginLeft = "250px"; $("footer nav")[0].style.marginLeft = "250px";
$("#open-leftbar").hide(); $("#open-leftbar").hide();
$("#close-leftbar").show(); $("#close-leftbar").show();
@ -82,8 +82,8 @@ $( document ).ready(function() {
$("#leftbar").hide(); $("#leftbar").hide();
// $("#leftbar")[0].style.paddingLeft = null; // $("#leftbar")[0].style.paddingLeft = null;
$("main")[0].style.marginLeft = null; $("main")[0].style.marginLeft = null;
$("header")[0].style.marginLeft = null; $("header nav")[0].style.marginLeft = null;
$("footer")[0].style.marginLeft = null; $("footer nav")[0].style.marginLeft = null;
$("#open-leftbar").show(); $("#open-leftbar").show();
$("#close-leftbar").hide(); $("#close-leftbar").hide();
}) })