From 3151e6dafc55d2acc5adca5d2793cc217e9192f5 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 24 Feb 2026 18:10:51 +0200 Subject: [PATCH] fix(client/layout): scroll padding enabled when note is protected --- apps/client/src/widgets/scroll_padding.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/widgets/scroll_padding.tsx b/apps/client/src/widgets/scroll_padding.tsx index 549e53f441..e277ee86a1 100644 --- a/apps/client/src/widgets/scroll_padding.tsx +++ b/apps/client/src/widgets/scroll_padding.tsx @@ -8,6 +8,7 @@ export default function ScrollPadding() { const [height, setHeight] = useState(10); const isEnabled = ["text", "code"].includes(note?.type ?? "") && viewScope?.viewMode === "default" + && note?.isContentAvailable() && !note?.isTriliumSqlite(); const refreshHeight = () => {