diff --git a/templates/partials/widgets/chat-widget.html b/templates/partials/widgets/chat-widget.html index 9ae288f..49fb751 100644 --- a/templates/partials/widgets/chat-widget.html +++ b/templates/partials/widgets/chat-widget.html @@ -319,7 +319,7 @@ function scrollToCV(link) { var anchor = link.getAttribute('href'); var target = document.querySelector(anchor); if (target) { - target.scrollIntoView({ behavior: 'smooth', block: 'center' }); + target.scrollIntoView({ behavior: 'smooth', block: 'start' }); target.classList.add('chat-highlight'); setTimeout(function() { target.classList.remove('chat-highlight'); }, 2000); }