We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ddc909 commit 1f08993Copy full SHA for 1f08993
js/mobile-menu.js
@@ -94,7 +94,7 @@ document.getElementById('portfolio-link').addEventListener('click', function(eve
94
const target = document.getElementById('portfolio');
95
96
// Calculate the offset to scroll to, ensuring it's not too close to the top
97
- const offset = target.offsetTop - 50; // Adjust the offset as needed
+ const offset = target.offsetTop - 20; // Adjust the offset as needed
98
99
// Scroll to the target with a smooth animation
100
window.scrollTo({
0 commit comments