From fb60fbb217ca9764ce7f389919a4b5baaefb1b1b Mon Sep 17 00:00:00 2001 From: lloydzhou Date: Tue, 23 Jul 2024 17:51:44 +0800 Subject: [PATCH] auto height for html preview --- app/components/markdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index 805af7b8b..a527a672e 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -96,7 +96,7 @@ export function HTMLPreview(props: { code: string }) { cursor: "pointer", overflow: "auto", }} - onClick={(e) => e.stopPropapation()} + onClick={(e) => e.stopPropagation()} >