From fc2feff69a806f2d33bc8b3572c86043c5b3abe0 Mon Sep 17 00:00:00 2001 From: Gimle Larpes Date: Mon, 21 Jul 2025 14:54:31 +0200 Subject: [PATCH] fix content shift when expanding or collapsing --- src/app/plugins/react-custom-html-parser.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/app/plugins/react-custom-html-parser.tsx b/src/app/plugins/react-custom-html-parser.tsx index 51e411ea..04ebacd4 100644 --- a/src/app/plugins/react-custom-html-parser.tsx +++ b/src/app/plugins/react-custom-html-parser.tsx @@ -272,13 +272,7 @@ export function CodeBlock(children: ChildNode[], opts: HTMLReactParserOptions) { )} - +
{domToReact(children, opts)}