Browse Source

auto height for html preview

lloydzhou 1 năm trước cách đây
mục cha
commit
fb60fbb217
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/components/markdown.tsx

+ 1 - 1
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()}
     >
       <iframe
         id={frameId}