From b479fa1f359bf7753d44a1d3062157b6fc7fec43 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 1 Mar 2024 13:20:12 +0800 Subject: [PATCH] Don't scroll vertical --- src/pages/catchup.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/catchup.jsx b/src/pages/catchup.jsx index ff9df7ce..d9aad889 100644 --- a/src/pages/catchup.jsx +++ b/src/pages/catchup.jsx @@ -531,6 +531,7 @@ function Catchup() { .querySelector(`[data-author="${selectedAuthor}"]`) ?.scrollIntoView({ behavior: 'smooth', + block: 'nearest', inline: 'center', }); }, 500);