Skip to content

Commit 360df52

Browse files
author
Jicheng Lu
committed
minor change
1 parent 78ae06c commit 360df52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/chat/[agentId]/[conversationId]/chat-box.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@
787787
if (!!scrollElement && !!item.elm) {
788788
const logScroll = OverlayScrollbars(scrollElement, options);
789789
const { viewport } = logScroll.elements();
790-
viewport.scrollTo({ top: item.elm.offsetTop - 10, behavior: 'smooth' });
790+
viewport.scrollTo({ top: item.elm.offsetTop - 5, behavior: 'smooth' });
791791
}
792792
});
793793
}

0 commit comments

Comments
 (0)