fixed sidebar collapse
This commit is contained in:
parent
8387eeb13f
commit
8d345d62cc
1 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue