Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LiliaBilous committed May 10, 2024
1 parent 312d64c commit 60e896c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ menuLinks.forEach((link) => {
const goToSection = document.querySelector(targetElement.dataset.goto);
if (goToSection) {
window.scrollTo({
top: goToSection.offsetTop,
top: goToSection.offsetTop - 16,
behavior: "smooth",
});
}
Expand Down

0 comments on commit 60e896c

Please sign in to comment.