Skip to content

Commit

Permalink
change scroll-behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitpaliwal95 committed Oct 7, 2021
1 parent 6b6d640 commit c272e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
html_body.animate({
scrollTop: target.offset().top - 65
}, 1500);
scrollTop: target.offset().top - 75
}, 600);
return false;
}
}
Expand Down

0 comments on commit c272e7c

Please sign in to comment.