From f20548fce99b1620072126f6fd8919e76118a486 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 24 Mar 2025 18:16:02 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14364 --- app/src/protyle/render/av/cell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index d874f4dbd..3fa2d6f73 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -350,7 +350,7 @@ export const cellScrollIntoView = (blockElement: HTMLElement, cellElement: Eleme if (contentElement) { const contentRect = contentElement.getBoundingClientRect(); if (cellRect.bottom > contentRect.bottom) { - contentElement.scrollTop = contentElement.scrollTop + (cellRect.top - contentRect.top - 33); + contentElement.scrollTop = contentElement.scrollTop + (cellRect.bottom - contentRect.bottom); } } }