diff --git a/src/components/Score.tsx b/src/components/Score.tsx index ca752d9..17f4ee1 100644 --- a/src/components/Score.tsx +++ b/src/components/Score.tsx @@ -97,7 +97,10 @@ const Score: FC<{ if (_userId) { setTimeout(() => { const rankEl = document.getElementById(_userId + 'el'); - rankEl?.scrollIntoView({ behavior: 'smooth' }); + rankEl?.scrollIntoView({ + behavior: 'smooth', + block: 'center', + }); }, 1000); } })