Skip to content

Commit

Permalink
changed the amount of movement for the main body of the site
Browse files Browse the repository at this point in the history
  • Loading branch information
tillgrallert committed Jul 18, 2017
1 parent 0780e30 commit 2a97d49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/nav-slideout.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function openNav() {
styleWidth('navigation','300');
styleRight('sidebar-buttons','300');
document.getElementById("body").style.marginRight = "300px";
document.getElementById("body").style.marginLeft = "-300px";
document.getElementById("body").style.marginRight = "150px";
document.getElementById("body").style.marginLeft = "-150px";
styleVisibility('menuOpen','hidden');
styleVisibility('menuClose','visible');
// document.getElementById("menuOpen").style.visibility = "hidden";
Expand Down

0 comments on commit 2a97d49

Please sign in to comment.