From 3a338fe059dd0c39ca272133f3b86acc94258321 Mon Sep 17 00:00:00 2001 From: ittoview Date: Mon, 11 May 2026 10:07:05 +0100 Subject: [PATCH] fix: increase current card top offset --- src/pages/ProcessPurposePracticePage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ProcessPurposePracticePage.tsx b/src/pages/ProcessPurposePracticePage.tsx index 2316140..8d46695 100644 --- a/src/pages/ProcessPurposePracticePage.tsx +++ b/src/pages/ProcessPurposePracticePage.tsx @@ -228,7 +228,7 @@ export default function ProcessPurposePracticePage() { const deckTop = deck.getBoundingClientRect().top const cardTop = currentCard.getBoundingClientRect().top - const targetTop = Math.max(deck.scrollTop + cardTop - deckTop - 32, 0) + const targetTop = Math.max(deck.scrollTop + cardTop - deckTop - 90, 0) currentScrollLimitRef.current = targetTop deck.scrollTo({ top: targetTop, behavior: 'smooth' }) })